Skip to content

Commit

Permalink
Added warning back to avoid additional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Oct 23, 2018
1 parent 0156023 commit c298917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/aes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ openssl_thread_config::openssl_thread_config()
}
openssl_thread_config::~openssl_thread_config()
{
if (CRYPTO_get_id_callback() != NULL && CRYPTO_get_id_callback() == &get_thread_id)
if (CRYPTO_get_id_callback() == &get_thread_id)
{
CRYPTO_set_id_callback(NULL);
CRYPTO_set_locking_callback(NULL);
Expand Down

0 comments on commit c298917

Please sign in to comment.