diff options
author | Michael D. Stemle, Jr <themanchicken@me.com> | 2020-04-20 01:46:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 22:46:39 -0700 |
commit | 9ee7b7b2c655392ac0f76f0bef488aaea1d89da8 (patch) | |
tree | f468ba0f64f3453bbe3c5d6b7aa694b2dda90005 /librabbitmq | |
parent | 26ecf6d3012be81f5dfb8a2d822c722e916a86cb (diff) | |
download | rabbitmq-c-9ee7b7b2c655392ac0f76f0bef488aaea1d89da8.tar.gz |
Updating how openssl is configured
Per guidance from the openssl project, this seems like it might be the more correct way to configure openssl with the default configuration files.
#603
Diffstat (limited to 'librabbitmq')
-rw-r--r-- | librabbitmq/amqp_openssl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c index 0da4809..9bb73d2 100644 --- a/librabbitmq/amqp_openssl.c +++ b/librabbitmq/amqp_openssl.c @@ -600,9 +600,7 @@ static int setup_openssl(void) { CRYPTO_set_locking_callback(ssl_locking_callback); #ifdef AMQP_OPENSSL_V110 - if (CONF_modules_load_file( - NULL, "rabbitmq-c", - CONF_MFLAGS_DEFAULT_SECTION | CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0) { + if (OPENSSL_init_ssl(0, NULL) <= 0) { status = AMQP_STATUS_SSL_ERROR; goto out; } |