]> git.ipfire.org Git - thirdparty/openssl.git/commit
test: evp_extra: test signing with legacy app method based keys
authorMatthias St. Pierre <matthias.st.pierre@ncp-e.com>
Sat, 23 Sep 2023 23:13:20 +0000 (01:13 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 4 Oct 2023 10:22:04 +0000 (12:22 +0200)
commit860e36d0dd72f4aa4791e88aa185cb42065a30c4
tree8f1ccbcaa601f25025c4d0c0e4155e8e06436029
parentb49cafd86b295aa5e177d6c1368b06a1202ec2b3
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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22185)
test/evp_extra_test.c