[openssl/openssl] 247a07: Fix checking return code of EVP_PKEY_get_int_param...

Petr Mikhalitsyn noreply at github.com
Fri Apr 21 08:23:34 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 247a07f5bc9e5187edd1229535fd56181b7960ee
      https://github.com/openssl/openssl/commit/247a07f5bc9e5187edd1229535fd56181b7960ee
  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