[openssl/openssl] 38ef6b: Fix checking return code of EVP_PKEY_get_int_param...
Petr Mikhalitsyn
noreply at github.com
Fri Apr 21 08:24:34 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 38ef6b018ce440a10bccfe621f51481e25790449
https://github.com/openssl/openssl/commit/38ef6b018ce440a10bccfe621f51481e25790449
Author: Petr Mikhalicin <pmikhalicin at rutoken.ru>
Date: 2023-04-21 (Fri, 21 Apr 2023)
Changed paths:
M crypto/x509/x509_vfy.c
Log Message:
-----------
Fix checking return code of EVP_PKEY_get_int_param at check_curve
According to docs, EVP_PKEY_get_int_param should return 1 on Success, and
0 on Failure. So, fix checking of this return value at check_curve
CLA: trivial
Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20770)
(cherry picked from commit 4e5f3d691343a691ddae739c51f7ae71e9893c98)
More information about the openssl-commits
mailing list