php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch openssl-defaultmd-sha1.patch for OpenSSL related Bug #66833

Patch version 2014-03-06 12:24 UTC

Return to Bug #66833 | Download this patch
Patch Revisions:

Developer: remi@php.net

--- openssl.c.orig	2014-03-06 12:37:38.872298483 +0100
+++ openssl.c	2014-03-06 13:23:20.341737164 +0100
@@ -855,7 +855,7 @@
 		req->digest = req->md_alg = EVP_get_digestbyname(req->digest_name);
 	}
 	if (req->md_alg == NULL) {
-		req->md_alg = req->digest = EVP_md5();
+		req->md_alg = req->digest = EVP_sha1();
 	}
 
 	PHP_SSL_CONFIG_SYNTAX_CHECK(extensions_section);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC