summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2014-03-06 10:14:08 +0100
committerRemi Collet <remi@php.net>2014-03-06 10:14:08 +0100
commit721b9a7c8dbe52cd3f0d2ac69b8eb9c78a0721c9 (patch)
treea7efec4c52692fa5c1017e41780fc73d7ad5e7c4 /ext/openssl
parentc2a9f73c99065cd8a7d3c08583498053076e1265 (diff)
downloadphp-git-721b9a7c8dbe52cd3f0d2ac69b8eb9c78a0721c9.tar.gz
Set default Digest Message to use SHA1 instead of MD5 in openssl tests
as MD5 signature are now rejected by newer openssl Version. Noticed in RHEL-7 and Fedora 21 build.
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/tests/openssl.cnf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/tests/openssl.cnf b/ext/openssl/tests/openssl.cnf
index 4ed40fdc8a..6ba37cb953 100644
--- a/ext/openssl/tests/openssl.cnf
+++ b/ext/openssl/tests/openssl.cnf
@@ -3,6 +3,7 @@ default_bits = 1024
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
+default_md = sha1
x509_extensions = v3_ca # The extensions to add to the self signed cert
string_mask = MASK:4294967295