From: Dr. Stephen Henson Date: Wed, 8 Jul 2009 08:33:27 +0000 (+0000) Subject: Remove MD2 from digest algorithm table. This follows the recommendation in X-Git-Tag: OpenSSL_0_9_8m-beta1~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c5f3606d1dd86d5ca79bf169d25b366406d196f;p=openssl Remove MD2 from digest algorithm table. This follows the recommendation in several places that it is not used in new applications. --- diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c index d270b0ee03..e0841d12f2 100644 --- a/crypto/evp/c_alld.c +++ b/crypto/evp/c_alld.c @@ -64,9 +64,6 @@ void OpenSSL_add_all_digests(void) { -#ifndef OPENSSL_NO_MD2 - EVP_add_digest(EVP_md2()); -#endif #ifndef OPENSSL_NO_MD4 EVP_add_digest(EVP_md4()); #endif diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c index 4717c0e6e1..2d9077e303 100644 --- a/ssl/ssl_algs.c +++ b/ssl/ssl_algs.c @@ -92,9 +92,6 @@ int SSL_library_init(void) EVP_add_cipher(EVP_seed_cbc()); #endif -#ifndef OPENSSL_NO_MD2 - EVP_add_digest(EVP_md2()); -#endif #ifndef OPENSSL_NO_MD5 EVP_add_digest(EVP_md5()); EVP_add_digest_alias(SN_md5,"ssl2-md5");