Skip to content

Commit

Permalink
ssl: remove reference to FIPS_set_mode
Browse files Browse the repository at this point in the history
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 alanxz#654
Fixes alanxz#627

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
alanxz committed Mar 5, 2021
1 parent b8e5f43 commit c5622b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions librabbitmq/amqp_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
{
Expand Down

0 comments on commit c5622b1

Please sign in to comment.