diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-28 18:04:07 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-28 18:04:07 +0100 |
commit | 42f349ed931cf11452a16e313b9ee8eb6faf6d30 (patch) | |
tree | 507169ac93ddd430ddb96d15b1ea607657133e20 /lib | |
parent | 8964e0f9430fba4f1827734f8e1551ef7c715d0a (diff) | |
download | otp-42f349ed931cf11452a16e313b9ee8eb6faf6d30.tar.gz otp-42f349ed931cf11452a16e313b9ee8eb6faf6d30.tar.bz2 otp-42f349ed931cf11452a16e313b9ee8eb6faf6d30.zip |
ssl: Testing - sha256 digest not supported on all platforms
Certificates uses: default_md = sha256
This is not supported on all test platforms, use md5 instead for testing.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/test/make_certs.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/test/make_certs.erl b/lib/ssl/test/make_certs.erl index c438ae2b87..0947657ca7 100644 --- a/lib/ssl/test/make_certs.erl +++ b/lib/ssl/test/make_certs.erl @@ -344,7 +344,7 @@ req_cnf(C) -> "default_bits = ", integer_to_list(C#config.default_bits), "\n" "RANDFILE = $ROOTDIR/RAND\n" "encrypt_key = no\n" - "default_md = sha1\n" + "default_md = md5\n" "#string_mask = pkix\n" "x509_extensions = ca_ext\n" "prompt = no\n" @@ -390,7 +390,7 @@ ca_cnf(C) -> ["crl_extensions = crl_ext\n" || C#config.v2_crls], "unique_subject = no\n" "default_days = 3600\n" - "default_md = sha256\n" + "default_md = md5\n" "preserve = no\n" "policy = policy_match\n" "\n" |