Merge pull request #6922 from FedericoCeratto/openssl-1.1.0

Add OpenSSL 1.1.0 support
This commit is contained in:
Dominik Picheta 2018-01-10 23:05:42 +00:00 • committed by GitHub
commit 1256f211f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 113 additions and 22 deletions

View file

@ -413,7 +413,7 @@ proc isIpAddress*(address_str: string): bool {.tags: [].} =
when defineSsl:
CRYPTO_malloc_init()
SslLibraryInit()
doAssert SslLibraryInit() == 1
SslLoadErrorStrings()
ErrLoadBioStrings()
OpenSSL_add_all_algorithms()