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

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


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


  Commit: 1009940c14716ac03d5f161bdb4ae626ec6fe729
      https://github.com/openssl/openssl/commit/1009940c14716ac03d5f161bdb4ae626ec6fe729
  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)


Compare: https://github.com/openssl/openssl/compare/bb7f3701cecb...1009940c1471


More information about the openssl-commits mailing list