]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix checking return code of EVP_PKEY_get_int_param at check_curve
authorPetr Mikhalicin <pmikhalicin@rutoken.ru>
Wed, 19 Apr 2023 11:43:02 +0000 (14:43 +0300)
committerTomas Mraz <tomas@openssl.org>
Fri, 21 Apr 2023 08:17:52 +0000 (10:17 +0200)
commit4e5f3d691343a691ddae739c51f7ae71e9893c98
treed6bb530f80c4241f490cfc14fda1d2d0ed4f3687
parenta901b31e99442f087051ae7efdcbc9ad6e6a5b33
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@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20770)
crypto/x509/x509_vfy.c