[openssl/openssl] f21889: test: evp_extra: fix indentation error

Matthias St. Pierre noreply at github.com
Wed Oct 4 10:24:42 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: f21889d1550abe64c37d434ba6dc6b5109fd1c10
      https://github.com/openssl/openssl/commit/f21889d1550abe64c37d434ba6dc6b5109fd1c10
  Author: Matthias St. Pierre <matthias.st.pierre at ncp-e.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M test/evp_extra_test.c

  Log Message:
  -----------
  test: evp_extra: fix indentation error

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

(cherry picked from commit b49cafd86b295aa5e177d6c1368b06a1202ec2b3)


  Commit: d40ccbc09ed8f391389287142c27a37c7d7f702a
      https://github.com/openssl/openssl/commit/d40ccbc09ed8f391389287142c27a37c7d7f702a
  Author: Matthias St. Pierre <matthias.st.pierre at ncp-e.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M test/evp_extra_test.c

  Log Message:
  -----------
  test: evp_extra: test signing with legacy app method based keys

This commit adds `test_EVP_PKEY_sign_with_app_method`, a regression
test for the bug fix in commit 1acc3e8cc3c6 (pull request #22163).

It is analogous to `test_EVP_PKEY_sign`, only with a fake app method
based key. (The EC key test case was omitted, because there is no
`EC_KEY_METHOD_dup` method.)

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

(cherry picked from commit 860e36d0dd72f4aa4791e88aa185cb42065a30c4)


  Commit: 16546f439b68324994deb3621774cc078780f7fc
      https://github.com/openssl/openssl/commit/16546f439b68324994deb3621774cc078780f7fc
  Author: Matthias St. Pierre <matthias.st.pierre at ncp-e.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M crypto/dh/dh_key.c
    M crypto/dh/dh_lib.c
    M crypto/dsa/dsa_lib.c
    M crypto/dsa/dsa_ossl.c

  Log Message:
  -----------
  Don't (re-)initialize the FFC_PARAMs in dh_init and dsa_init

The initialization was introduced in commit dc8de3e6f1ee and
changes the behaviour of the `init` method for DSA and DH
between 1.1.1 and 3.0, while the behaviour for RSA and EC_KEY
remains unchanged.

The initialization is not necessary in 3.x and master imho and
breaks the use-case of intercepting the methods of an existing
key.

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

(cherry picked from commit 706512ecbc31585d447b53c3aa89acdf6951f996)


Compare: https://github.com/openssl/openssl/compare/ffef6d8f4da2...16546f439b68


More information about the openssl-commits mailing list