diff options
author | Simo Sorce <simo@redhat.com> | 2022-11-11 12:18:26 -0500 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-15 12:04:12 +0100 |
commit | e5202fbd461cb6c067874987998e91c6093e5267 (patch) | |
tree | f1ad67d6c8559c01f1b4b14d2814bfe40df35569 /test/fake_rsaprov.h | |
parent | 504427eb5f32108dd64ff7858012863fe47b369b (diff) |
Add test for EVP_PKEY_eq
This tests that the comparison work even if a provider can only return
a public key.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19648)
Diffstat (limited to 'test/fake_rsaprov.h')
-rw-r--r-- | test/fake_rsaprov.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fake_rsaprov.h b/test/fake_rsaprov.h index 57de1ecf8d..190c46a285 100644 --- a/test/fake_rsaprov.h +++ b/test/fake_rsaprov.h @@ -12,3 +12,4 @@ /* Fake RSA provider implementation */ OSSL_PROVIDER *fake_rsa_start(OSSL_LIB_CTX *libctx); void fake_rsa_finish(OSSL_PROVIDER *p); +OSSL_PARAM *fake_rsa_key_params(int priv); |