diff options
author | Abhirup Manna <abhirup.m92@gmail.com> | 2023-08-30 22:23:20 +0530 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-09-01 11:41:16 +0200 |
commit | da57c0eaf22c390f9b38c42ca1bd7daca4effd2f (patch) | |
tree | e2f5666864dc67f4e69d5230f09e79653d514327 | |
parent | 399c2da08ab9c6a382f8e9950742a022e847fec0 (diff) |
Removed unnecessary brace in ktls_configure_crypto
CLA: trivial
Fixes #21498
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21908)
-rw-r--r-- | ssl/record/methods/ktls_meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/record/methods/ktls_meth.c b/ssl/record/methods/ktls_meth.c index 2d3c33bf7a..ff8d721859 100644 --- a/ssl/record/methods/ktls_meth.c +++ b/ssl/record/methods/ktls_meth.c @@ -95,7 +95,7 @@ int ktls_configure_crypto(OSSL_LIB_CTX *libctx, int version, const EVP_CIPHER *c return 0; if (EVP_MD_is_a(md, "SHA1")) crypto_info->auth_algorithm = CRYPTO_SHA1_HMAC; - else if (EVP_MD_is_a(md, "SHA2-256")) { + else if (EVP_MD_is_a(md, "SHA2-256")) crypto_info->auth_algorithm = CRYPTO_SHA2_256_HMAC; else if (EVP_MD_is_a(md, "SHA2-384")) crypto_info->auth_algorithm = CRYPTO_SHA2_384_HMAC; |