diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2016-12-05 02:27:45 +0200 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2016-12-05 02:27:45 +0200 |
commit | 58e2fbc9350053374db1735b8f3573e1f5718a21 (patch) | |
tree | fdf9f1b7027c8a5f989b7acba495e2adfc951ac4 /lib/wrappers | |
parent | d6ab21eed53df590b25742c06ac4dff908d8b27d (diff) | |
download | Nim-58e2fbc9350053374db1735b8f3573e1f5718a21.tar.gz |
Added BIO_new_mem_buf
Diffstat (limited to 'lib/wrappers')
-rw-r--r-- | lib/wrappers/openssl.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 1bd02eaf0..5521476d9 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -293,6 +293,8 @@ proc SSL_get_error*(s: SslPtr, ret_code: cInt): cInt{.cdecl, dynlib: DLLSSLName, proc SSL_accept*(ssl: SslPtr): cInt{.cdecl, dynlib: DLLSSLName, importc.} proc SSL_pending*(ssl: SslPtr): cInt{.cdecl, dynlib: DLLSSLName, importc.} +proc BIO_new_mem_buf*(data: pointer, len: cint): BIO{.cdecl, + dynlib: DLLSSLName, importc.} proc BIO_new_ssl_connect*(ctx: SslCtx): BIO{.cdecl, dynlib: DLLSSLName, importc.} proc BIO_ctrl*(bio: BIO, cmd: cint, larg: int, arg: cstring): int{.cdecl, |