diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-06 10:37:43 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-07 12:31:24 +0100 |
commit | e6774a7289707061fb19bf5f32996147dcc9a860 (patch) | |
tree | eac803947071594b7d6484b46fe5dac64a682dce /test/evp_extra_test.c | |
parent | dc56deddeea301f9a496c1565398d7ec1fb8dac0 (diff) | |
download | openssl-e6774a7289707061fb19bf5f32996147dcc9a860.tar.gz |
test/evp_extra_test.c: Modify to reflect provider support in test_EVP_PKEY_check
With our providers, RSA now supports public key check and key parameter check.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13334)
Diffstat (limited to 'test/evp_extra_test.c')
-rw-r--r-- | test/evp_extra_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 8ee41ab5ce..e0f6af1f06 100644 --- a/test/evp_extra_test.c +++ b/test/evp_extra_test.c @@ -399,9 +399,9 @@ static APK_DATA keydata[] = { }; static APK_DATA keycheckdata[] = { - {kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA, 1, -2, -2, 0}, + {kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA, 1, 1, 1, 0}, {kExampleBadRSAKeyDER, sizeof(kExampleBadRSAKeyDER), EVP_PKEY_RSA, - 0, -2, -2, 0}, + 0, 1, 1, 0}, #ifndef OPENSSL_NO_EC {kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC, 1, 1, 1, 0}, /* group is also associated in our pub key */ |