Commit 7660b370 authored by Mark Andrews's avatar Mark Andrews
Browse files

4344. [port] Address openssl version differences. [RT #42059]

parent 651be63a
4344. [port] Address openssl version differences. [RT #42059]
4343. [bug] dns_dnssec_syncupdate misdeclared in <dns/dnssec.h>.
[RT #42090]
......
......@@ -206,6 +206,9 @@ dst__openssl_init(const char *engine) {
rm->status = entropy_status;
#ifdef USE_ENGINE
#if !defined(CONF_MFLAGS_DEFAULT_SECTION)
OPENSSL_config(NULL);
#else
/*
* OPENSSL_config() can only be called a single time as of
* 1.0.2e so do the steps individually.
......@@ -216,6 +219,7 @@ dst__openssl_init(const char *engine) {
CONF_modules_load_file(NULL, NULL,
CONF_MFLAGS_DEFAULT_SECTION |
CONF_MFLAGS_IGNORE_MISSING_FILE);
#endif
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