Commit bed6e9d6 authored by Mark Andrews's avatar Mark Andrews

4383. [bug] OPENSSL_config is no longer re-callable. [RT #41348]

parent c1e2310a
4383. [bug] OPENSSL_config is no longer re-callable. [RT #41348]
4282. [func] 'dig +[no]mapped' determine whether the use of mapped
IPv4 addresses over IPv6 is permitted or not. The
default is +mapped. [RT #41307]
......
......@@ -206,7 +206,16 @@ dst__openssl_init(const char *engine) {
rm->status = entropy_status;
#ifdef USE_ENGINE
OPENSSL_config(NULL);
/*
* OPENSSL_config() can only be called a single time as of
* 1.0.2e so do the steps individually.
*/
OPENSSL_load_builtin_modules();
ENGINE_load_builtin_engines();
ERR_clear_error();
CONF_modules_load_file(NULL, NULL,
CONF_MFLAGS_DEFAULT_SECTION |
CONF_MFLAGS_IGNORE_MISSING_FILE);
if (engine != NULL && *engine == '\0')
engine = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment