diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-03-05 06:44:15 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2021-03-04 22:56:13 -0800 |
commit | 23856b8cce06d0ed0a4e65f46bde27df409fe9f6 (patch) | |
tree | 6236c44c765b968078d893ba9bbf2f598dfccde0 | |
parent | b8e5f43b082c5399bf1ee723c3fd3c19cecd843e (diff) | |
download | rabbitmq-c-23856b8cce06d0ed0a4e65f46bde27df409fe9f6.tar.gz |
ssl: remove reference to FIPS_set_mode
This was cargo-culted from the OpenSSL wiki for uninitializing OpenSSL.
This API has been removed v3.x and newer of OpenSSL, additionally
rabbitmq-c doesn't use FIPS mode, so this is likely a no-op even using
older OpenSSL.
Fixes #654
Fixes #627
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r-- | librabbitmq/amqp_openssl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c index 0a37fe0..3cebd58 100644 --- a/librabbitmq/amqp_openssl.c +++ b/librabbitmq/amqp_openssl.c @@ -753,10 +753,6 @@ int amqp_uninitialize_ssl_library(void) { ERR_remove_state(0); #endif -#ifndef LIBRESSL_VERSION_NUMBER - FIPS_mode_set(0); -#endif - CRYPTO_set_locking_callback(NULL); CRYPTO_set_id_callback(NULL); { |