]> git.ipfire.org Git - thirdparty/openssl.git/commit
Break the if statement up into 2 if statements
authorJiasheng Jiang <jiasheng@purdue.edu>
Mon, 25 Mar 2024 14:16:51 +0000 (14:16 +0000)
committerNeil Horman <nhorman@openssl.org>
Sat, 30 Mar 2024 13:05:32 +0000 (09:05 -0400)
commit2b6f307721db97d9bd7ca5ad4abf12b90ef581cd
treef8e19e8b983c04a9536c0da9378cfb6efd6dcaf0
parent64963c8b7a11728b5d252420f56f82532c14076d
Break the if statement up into 2 if statements

Break the if statement up into 2 if statements to avoid call
EVP_MD_get_size() twice.

Signed-off-by: Jiasheng Jiang <jiasheng@purdue.edu>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23959)
providers/implementations/signature/sm2_sig.c