diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2018-11-14 02:27:16 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2018-11-14 02:27:16 +0000 |
commit | d4e1daacac37e014a8f23ad42b4e3b2ab5bb3f86 (patch) | |
tree | 9880e821bec7c9d45be30d5e71c599f9e6888b0b /lib/libssl/ssl_sigalgs.c | |
parent | bb58c71b526127e386d1f892c20acedc8997b5c1 (diff) |
In TLS1.2 we use evp_sha1 if we fall back this far, not evp_md5_sha1 as in 1.1
Makes connections to outlook.office365.com work
Diffstat (limited to 'lib/libssl/ssl_sigalgs.c')
-rw-r--r-- | lib/libssl/ssl_sigalgs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_sigalgs.c b/lib/libssl/ssl_sigalgs.c index 9f7cf29fecd..835c40e74ea 100644 --- a/lib/libssl/ssl_sigalgs.c +++ b/lib/libssl/ssl_sigalgs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sigalgs.c,v 1.9 2018/11/13 15:50:54 beck Exp $ */ +/* $OpenBSD: ssl_sigalgs.c,v 1.10 2018/11/14 02:27:15 beck Exp $ */ /* * Copyright (c) 2018, Bob Beck <beck@openbsd.org> * @@ -144,7 +144,7 @@ const struct ssl_sigalg sigalgs[] = { .value = SIGALG_RSA_PKCS1_SHA1, .key_type = EVP_PKEY_RSA, .pkey_idx = SSL_PKEY_RSA_SIGN, - .md = EVP_md5_sha1, + .md = EVP_sha1, }, { .value = SIGALG_ECDSA_SHA1, |