From dd40b2002b1afacdc1e08c6110a64df472f12137 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 14 Nov 2002 23:24:39 +0000 Subject: [PATCH] Remove the flag variable in OpenSSL_add_all_ciphers() and OpenSSL_add_all_digests(), as it doesn't really serve any sensible purpose. PR: 261 --- crypto/evp/c_allc.c | 4 ---- crypto/evp/c_alld.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c index 0820557fdb..f24d3756c9 100644 --- a/crypto/evp/c_allc.c +++ b/crypto/evp/c_allc.c @@ -64,10 +64,6 @@ void OpenSSL_add_all_ciphers(void) { - static int done=0; - - if (done) return; - done=1; #ifndef NO_DES EVP_add_cipher(EVP_des_cfb()); EVP_add_cipher(EVP_des_ede_cfb()); diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c index 41695df106..bbf059eb85 100644 --- a/crypto/evp/c_alld.c +++ b/crypto/evp/c_alld.c @@ -64,10 +64,6 @@ void OpenSSL_add_all_digests(void) { - static int done=0; - - if (done) return; - done=1; #ifndef NO_MD2 EVP_add_digest(EVP_md2()); #endif -- 2.25.1