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

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 187963b945a1e9db1d47de8da0f5b0066592f835
      https://github.openssl.org/openssl/openssl/commit/187963b945a1e9db1d47de8da0f5b0066592f835
  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:
https://github.com/openssl/openssl/pull/18355#issuecomment-1145993650

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)

(cherry picked from commit 7d6aad832b4cebb181c53ab80a3f61dc8549be08)




More information about the openssl-commits mailing list