[openssl/openssl] ff56f2: param->ctrl translation: Fix fix_ec_paramgen_curve...

Richard Levitte noreply at github.com
Mon May 1 10:50:41 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: ff56f28d2d8225e2a83747c37ef6b47f42f3073a
      https://github.com/openssl/openssl/commit/ff56f28d2d8225e2a83747c37ef6b47f42f3073a
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M crypto/evp/ctrl_params_translate.c

  Log Message:
  -----------
  param->ctrl translation: Fix fix_ec_paramgen_curve_nid()

This function didn't prepare space to get the param string, which causes
the default_fixup_args() call to fail.

Fixes #20161

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/20780)

(cherry picked from commit ac52fe5f5ae7a1d062f09adab7744e3a3b2ddbcf)


  Commit: 05d42befb962db332cc73d3d4e835396b8e1edde
      https://github.com/openssl/openssl/commit/05d42befb962db332cc73d3d4e835396b8e1edde
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M crypto/evp/ctrl_params_translate.c

  Log Message:
  -----------
  param->ctrl translation: Fix evp_pkey_ctx_setget_params_to_ctrl()

Ensure that ctx.ctrl_cmd defaults to translation->cmd_num

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/20780)

(cherry picked from commit 1009940c14716ac03d5f161bdb4ae626ec6fe729)


Compare: https://github.com/openssl/openssl/compare/87abde51db62...05d42befb962


More information about the openssl-commits mailing list