summary refs log tree commit diff stats
path: root/lib/wrappers
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2012-07-22 23:32:49 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2012-07-22 23:32:49 +0100
commit5310a3044fa4187274e2bfe59de68f394a81c89d (patch)
treeeab220ba823fb2f706ff6abab7b52cdb982821e3 /lib/wrappers
parentb839e42e92edf6acfca73768cbdd9c7595ca8797 (diff)
downloadNim-5310a3044fa4187274e2bfe59de68f394a81c89d.tar.gz
Many fixes for asynchronous sockets. Asyncio should now work well with buffered and unbuffered plain and ssl sockets. Added asyncio
test to the test suite.
Diffstat (limited to 'lib/wrappers')
-rwxr-xr-xlib/wrappers/openssl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim
index b5eed38f3..309b2fe5d 100755
--- a/lib/wrappers/openssl.nim
+++ b/lib/wrappers/openssl.nim
@@ -215,7 +215,7 @@ proc SSL_get_verify_result*(ssl: PSSL): int{.cdecl,
 
 proc SSL_CTX_set_cipher_list*(s: PSSLCTX, ciphers: cstring): cint{.cdecl, dynlib: DLLSSLName, importc.}
 proc SSL_CTX_use_certificate_file*(ctx: PSSL_CTX, filename: cstring, typ: cInt): cInt{.
-    cdecl, dynlib: DLLSSLName, importc.}
+    stdcall, dynlib: DLLSSLName, importc.}
 proc SSL_CTX_use_PrivateKey_file*(ctx: PSSL_CTX,
     filename: cstring, typ: cInt): cInt{.cdecl, dynlib: DLLSSLName, importc.}
 proc SSL_CTX_check_private_key*(ctx: PSSL_CTX): cInt{.cdecl, dynlib: DLLSSLName,