[openssl/openssl] 7d6aad: Don't report success from ec_export if OSSL_PARAM_...

matt noreply at reply.github.openssl.org
Wed Jun 8 14:59:14 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 7d6aad832b4cebb181c53ab80a3f61dc8549be08
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M providers/implementations/keymgmt/ec_kmgmt.c

  Log Message:
  Don't report success from ec_export if OSSL_PARAM_BLD_to_param failed

If the call to OSSL_PARAM_BLD_to_param() failed then ec_export was
reporting success, even though it has never called the param_cb.

Found due to:

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18483)

More information about the openssl-commits mailing list