diff options
author | dom96 <dominikpicheta@googlemail.com> | 2010-10-27 19:06:25 +0100 |
---|---|---|
committer | dom96 <dominikpicheta@googlemail.com> | 2010-10-27 19:06:25 +0100 |
commit | 8733886e5370e507e4179932b5658be2ee696e0f (patch) | |
tree | 9e8f055f0065fb277768ca66a2ce97cb751c4c27 /lib/wrappers | |
parent | 0879f0b0a7741dc725f1993b4490e00a13a640e0 (diff) | |
download | Nim-8733886e5370e507e4179932b5658be2ee696e0f.tar.gz |
Added a close function to the ssl module.
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 b298a9fc4..5fc6ddd02 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -223,6 +223,8 @@ proc BIO_read*(b: PBIO, data: cstring, length: cInt): cInt{.cdecl, proc BIO_write*(b: PBIO, data: cstring, length: cInt): cInt{.cdecl, dynlib: DLLUtilName, importc.} +proc BIO_free*(b: PBIO): cInt{.cdecl, dynlib: DLLUtilName, importc.} + proc ERR_print_errors_fp*(fp: TFile){.cdecl, dynlib: DLLSSLName, importc.} when True: |