Merge pull request #2320 from aurora/ssl-sigsegv
openssl: do not set mem functions on osx
This commit is contained in:
commit
4051e436b6
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ when not useWinVersion:
|
||||||
if p != nil: dealloc(p)
|
if p != nil: dealloc(p)
|
||||||
|
|
||||||
proc CRYPTO_malloc_init*() =
|
proc CRYPTO_malloc_init*() =
|
||||||
when not useWinVersion:
|
when not useWinVersion and not defined(macosx):
|
||||||
CRYPTO_set_mem_functions(allocWrapper, reallocWrapper, deallocWrapper)
|
CRYPTO_set_mem_functions(allocWrapper, reallocWrapper, deallocWrapper)
|
||||||
|
|
||||||
proc SSL_CTX_ctrl*(ctx: SslCtx, cmd: cInt, larg: int, parg: pointer): int{.
|
proc SSL_CTX_ctrl*(ctx: SslCtx, cmd: cInt, larg: int, parg: pointer): int{.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue