summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/evp/c_alld.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/evp/c_alld.c')
-rw-r--r--crypto/openssl/crypto/evp/c_alld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/evp/c_alld.c b/crypto/openssl/crypto/evp/c_alld.c
index bbf059e..41695df 100644
--- a/crypto/openssl/crypto/evp/c_alld.c
+++ b/crypto/openssl/crypto/evp/c_alld.c
@@ -64,6 +64,10 @@
void OpenSSL_add_all_digests(void)
{
+ static int done=0;
+
+ if (done) return;
+ done=1;
#ifndef NO_MD2
EVP_add_digest(EVP_md2());
#endif
OpenPOWER on IntegriCloud