OpenSSL: Do not use library init/deinit functions with 1.1.0
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 15 Feb 2016 22:35:34 +0000 (00:35 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2016 22:35:34 +0000 (00:35 +0200)
commit29bc76e3d3252dfc311d1ffaa15be66abd8509ee
treef20d0013bfbca9ae5898940712997c3210edee6a
parent0f09637001c81deef7c1a6d3752c965fcf3fbc60
OpenSSL: Do not use library init/deinit functions with 1.1.0

SSL_library_init() does not work properly after EVP_cleanup() starting
from OpenSSL 1.1.0 pre release 3. The automated library init/deinit
functions in that pre release are supposed to handle all initialization
and deinitialiation, so comment out the explicit calls to these function
with OpenSSL 1.1.0 and newer.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls_openssl.c