summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-05-09 07:55:49 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-05-09 07:55:49 +0000
commit9b55c4af27002c5f885fe79886adb520f9f3ab77 (patch)
treec3b842cafed39c027afc832d46a2159298bcdf33 /lib/libssl/ssl_ciph.c
parentf743960e02d762217ddae210082ed71649ab1129 (diff)
ssl_ciph.c: unwrap a line
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 4bcd0dbba49..a01465d9e0f 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.141 2024/05/09 07:47:50 tb Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.142 2024/05/09 07:55:48 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -522,8 +522,7 @@ ssl_get_handshake_evp_md(SSL *s, const EVP_MD **md)
if (s->s3->hs.cipher == NULL)
return 0;
- handshake_mac = s->s3->hs.cipher->algorithm2 &
- SSL_HANDSHAKE_MAC_MASK;
+ handshake_mac = s->s3->hs.cipher->algorithm2 & SSL_HANDSHAKE_MAC_MASK;
/* For TLSv1.2 we upgrade the default MD5+SHA1 MAC to SHA256. */
if (SSL_USE_SHA256_PRF(s) && handshake_mac == SSL_HANDSHAKE_MAC_DEFAULT)