Fix build with OPENSSL_NO_ENGINE

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
pull/971/head
Fredrik Fornwall 7 years ago committed by Roger Light
parent ae45bd3d40
commit 915e91d9be

@ -103,7 +103,9 @@ void net__cleanup(void)
#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_remove_state(0);
#endif
ENGINE_cleanup();
#ifndef OPENSSL_NO_ENGINE
ENGINE_cleanup();
#endif
CONF_modules_unload(1);
ERR_free_strings();
EVP_cleanup();

Loading…
Cancel
Save