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
This commit is contained in:
Richard Levitte 2002-11-14 23:24:39 +00:00
parent 74766c6e5d
commit dd40b2002b
2 changed files with 0 additions and 8 deletions

View File

@ -64,10 +64,6 @@
void OpenSSL_add_all_ciphers(void) void OpenSSL_add_all_ciphers(void)
{ {
static int done=0;
if (done) return;
done=1;
#ifndef NO_DES #ifndef NO_DES
EVP_add_cipher(EVP_des_cfb()); EVP_add_cipher(EVP_des_cfb());
EVP_add_cipher(EVP_des_ede_cfb()); EVP_add_cipher(EVP_des_ede_cfb());

View File

@ -64,10 +64,6 @@
void OpenSSL_add_all_digests(void) void OpenSSL_add_all_digests(void)
{ {
static int done=0;
if (done) return;
done=1;
#ifndef NO_MD2 #ifndef NO_MD2
EVP_add_digest(EVP_md2()); EVP_add_digest(EVP_md2());
#endif #endif