diff options
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
-rw-r--r-- | src/lib/libssl/ssl_ciph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index 1ffd90dc16..ee627a8c1e 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_ciph.c,v 1.120 2021/02/07 15:26:32 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_ciph.c,v 1.121 2021/03/24 18:44:00 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -563,10 +563,10 @@ ssl_get_handshake_evp_md(SSL *s, const EVP_MD **md) | |||
563 | 563 | ||
564 | *md = NULL; | 564 | *md = NULL; |
565 | 565 | ||
566 | if (S3I(s)->hs.new_cipher == NULL) | 566 | if (S3I(s)->hs.cipher == NULL) |
567 | return 0; | 567 | return 0; |
568 | 568 | ||
569 | handshake_mac = S3I(s)->hs.new_cipher->algorithm2 & | 569 | handshake_mac = S3I(s)->hs.cipher->algorithm2 & |
570 | SSL_HANDSHAKE_MAC_MASK; | 570 | SSL_HANDSHAKE_MAC_MASK; |
571 | 571 | ||
572 | /* For TLSv1.2 we upgrade the default MD5+SHA1 MAC to SHA256. */ | 572 | /* For TLSv1.2 we upgrade the default MD5+SHA1 MAC to SHA256. */ |