openssl: BoringSSL does not support configuration
The other initialization functions are still defined but many are apparently no-ops (this is also true for the threading initialization).
This commit is contained in:
@@ -502,8 +502,10 @@ METHOD(plugin_t, get_features, int,
|
|||||||
METHOD(plugin_t, destroy, void,
|
METHOD(plugin_t, destroy, void,
|
||||||
private_openssl_plugin_t *this)
|
private_openssl_plugin_t *this)
|
||||||
{
|
{
|
||||||
|
#ifndef OPENSSL_IS_BORINGSSL
|
||||||
CONF_modules_free();
|
CONF_modules_free();
|
||||||
OBJ_cleanup();
|
OBJ_cleanup();
|
||||||
|
#endif
|
||||||
EVP_cleanup();
|
EVP_cleanup();
|
||||||
#ifndef OPENSSL_NO_ENGINE
|
#ifndef OPENSSL_NO_ENGINE
|
||||||
ENGINE_cleanup();
|
ENGINE_cleanup();
|
||||||
@@ -555,7 +557,9 @@ plugin_t *openssl_plugin_create()
|
|||||||
|
|
||||||
threading_init();
|
threading_init();
|
||||||
|
|
||||||
|
#ifndef OPENSSL_IS_BORINGSSL
|
||||||
OPENSSL_config(NULL);
|
OPENSSL_config(NULL);
|
||||||
|
#endif
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
|
|
||||||
#ifdef OPENSSL_FIPS
|
#ifdef OPENSSL_FIPS
|
||||||
|
|||||||
Reference in New Issue
Block a user