From: Richard Levitte Date: Thu, 14 Nov 2002 23:24:39 +0000 (+0000) Subject: Remove the flag variable in OpenSSL_add_all_ciphers() and X-Git-Tag: OpenSSL_0_9_6h~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd40b2002b1afacdc1e08c6110a64df472f12137;p=oweals%2Fopenssl.git 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 --- 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