diff options
Diffstat (limited to 'tests/rsa.nim')
| -rw-r--r-- | tests/rsa.nim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/rsa.nim b/tests/rsa.nim index 638c490..e7bde89 100644 --- a/tests/rsa.nim +++ b/tests/rsa.nim @@ -10,6 +10,9 @@ const basePath = cryptoPath.parentDir FLAGS {.strdefine.} = "" +static: + cSkipSymbol(@["ERR_load_crypto_strings", "OpenSSLDie"]) + cPlugin: import strutils @@ -20,10 +23,11 @@ cPlugin: "AES_ENCRYPT", "AES_DECRYPT", "BIO_CTRL_PENDING", "BIO_CTRL_WPENDING", "BN_F_BNRAND", "BN_F_BNRAND_RANGE", - "CRYPTO_THREADID", + "CRYPTO_LOCK", "CRYPTO_NUM_LOCKS", "CRYPTO_THREADID", "EVP_CIPHER", "OPENSSL_VERSION", "PKCS7_ENCRYPT", "PKCS7_STREAM", + "SSLEAY_VERSION", "SSL_TXT_ADH", "SSL_TXT_AECDH", "SSL_TXT_kECDHE" ]: sym.name = "C_" & sym.name @@ -39,4 +43,4 @@ cImport(@[ {.passL: cryptoLPath.} OpensslInit() -echo $OPENSSL_VERSION_TEXT
\ No newline at end of file +echo $OPENSSL_VERSION_TEXT |
