[openssl/openssl] 4e5f3d: Fix checking return code of EVP_PKEY_get_int_param...

Petr Mikhalitsyn noreply at github.com
Fri Apr 21 08:20:35 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 4e5f3d691343a691ddae739c51f7ae71e9893c98
      https://github.com/openssl/openssl/commit/4e5f3d691343a691ddae739c51f7ae71e9893c98
  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)




More information about the openssl-commits mailing list