mirror of https://github.com/openssl/openssl.git
				
				
				
			Restore MD5-SHA1 in legacy method database
If we remove these, the functions EVP_get_digestbyname() and EVP_get_cipherbyname() will stop working entirely, and it's too early to criple them yet. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10176)
This commit is contained in:
		
							parent
							
								
									a80caef558
								
							
						
					
					
						commit
						9ff872e8a3
					
				|  | @ -22,6 +22,7 @@ void openssl_add_all_digests_int(void) | ||||||
| #ifndef OPENSSL_NO_MD5 | #ifndef OPENSSL_NO_MD5 | ||||||
|     EVP_add_digest(EVP_md5()); |     EVP_add_digest(EVP_md5()); | ||||||
|     EVP_add_digest_alias(SN_md5, "ssl3-md5"); |     EVP_add_digest_alias(SN_md5, "ssl3-md5"); | ||||||
|  |     EVP_add_digest(EVP_md5_sha1()); | ||||||
| #endif | #endif | ||||||
|     EVP_add_digest(EVP_sha1()); |     EVP_add_digest(EVP_sha1()); | ||||||
|     EVP_add_digest_alias(SN_sha1, "ssl3-sha1"); |     EVP_add_digest_alias(SN_sha1, "ssl3-sha1"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue