diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2013-02-23 23:12:11 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2013-02-23 23:12:11 +0000 |
commit | f2041afad5594321ac21b584143f6db4ad5d697f (patch) | |
tree | 7933363249283f67ec628111a70c8fc2a943e270 /lib/wrappers/openssl.nim | |
parent | 180ab350dcad1b6755d15f671b9b74b56897d0c7 (diff) | |
download | Nim-f2041afad5594321ac21b584143f6db4ad5d697f.tar.gz |
Fixed timeouts for sockets, implemented timeouts in httpclient and fixed
a bug with redirection in httpclient.
Diffstat (limited to 'lib/wrappers/openssl.nim')
-rwxr-xr-x | lib/wrappers/openssl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 438774a15..ca4ad6a99 100755 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -233,6 +233,7 @@ proc SSL_read*(ssl: PSSL, buf: pointer, num: int): cint{.cdecl, dynlib: DLLSSLNa proc SSL_write*(ssl: PSSL, buf: cstring, num: int): cint{.cdecl, dynlib: DLLSSLName, importc.} proc SSL_get_error*(s: PSSL, ret_code: cInt): cInt{.cdecl, dynlib: DLLSSLName, importc.} proc SSL_accept*(ssl: PSSL): cInt{.cdecl, dynlib: DLLSSLName, importc.} +proc SSL_pending*(ssl: PSSL): cInt{.cdecl, dynlib: DLLSSLName, importc.} proc BIO_new_ssl_connect*(ctx: PSSL_CTX): PBIO{.cdecl, dynlib: DLLSSLName, importc.} @@ -323,7 +324,6 @@ else: dynlib: DLLSSLName, importc.} proc SslWrite*(ssl: PSSL, buf: SslPtr, num: cInt): cInt{.cdecl, dynlib: DLLSSLName, importc.} - proc SslPending*(ssl: PSSL): cInt{.cdecl, dynlib: DLLSSLName, importc.} proc SslGetVersion*(ssl: PSSL): cstring{.cdecl, dynlib: DLLSSLName, importc.} proc SslGetPeerCertificate*(ssl: PSSL): PX509{.cdecl, dynlib: DLLSSLName, importc.} |