Remove MD2 from digest algorithm table. This follows the recommendation in
authorDr. Stephen Henson <steve@openssl.org>
Wed, 8 Jul 2009 08:33:27 +0000 (08:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 8 Jul 2009 08:33:27 +0000 (08:33 +0000)
several places that it is not used in new applications.

crypto/evp/c_alld.c
ssl/ssl_algs.c

index d270b0ee033168fa97783d4a93c5b81bf496238a..e0841d12f278fbca9783d2a79c6689a4865e4d41 100644 (file)
@@ -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
index 4717c0e6e1de4838de846819a5ebf7a0434688ab..2d9077e303377096bfc966d9dbb58f19bf8cde83 100644 (file)
@@ -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");