summaryrefslogtreecommitdiff
path: root/librabbitmq
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-03-05 06:44:15 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-03-04 22:56:13 -0800
commit23856b8cce06d0ed0a4e65f46bde27df409fe9f6 (patch)
tree6236c44c765b968078d893ba9bbf2f598dfccde0 /librabbitmq
parentb8e5f43b082c5399bf1ee723c3fd3c19cecd843e (diff)
downloadrabbitmq-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>
Diffstat (limited to 'librabbitmq')
-rw-r--r--librabbitmq/amqp_openssl.c4
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);
{