[openssl/openssl] d1b2c9: 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/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: d1b2c9bf0b076c06dd240cab6140c68ec9f2cf5c
      https://github.com/openssl/openssl/commit/d1b2c9bf0b076c06dd240cab6140c68ec9f2cf5c
  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: c04ad5700ae0a531e91697b26cdcac6764dd6072
      https://github.com/openssl/openssl/commit/c04ad5700ae0a531e91697b26cdcac6764dd6072
  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/925058987e4b...c04ad5700ae0


More information about the openssl-commits mailing list