From: John Baldwin Date: Thu, 31 Oct 2019 23:51:08 +0000 (-0700) Subject: Support ciphersuites using a SHA2 384 digest in FreeBSD KTLS. X-Git-Tag: openssl-3.0.0-alpha1~909 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a7bdd0433c0360fccb4dd9f5c43c6fabc4e8c659;p=oweals%2Fopenssl.git Support ciphersuites using a SHA2 384 digest in FreeBSD KTLS. Reviewed-by: Kurt Roeckx Reviewed-by: Richard Levitte GH: #10372 --- diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 09bfb45884..19045f9649 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -410,6 +410,9 @@ int tls1_change_cipher_state(SSL *s, int which) case SSL_SHA256: crypto_info.auth_algorithm = CRYPTO_SHA2_256_HMAC; break; + case SSL_SHA384: + crypto_info.auth_algorithm = CRYPTO_SHA2_384_HMAC; + break; default: goto skip_ktls; }