From: Richard Levitte Date: Fri, 6 Nov 2020 09:37:43 +0000 (+0100) Subject: test/evp_extra_test.c: Modify to reflect provider support in test_EVP_PKEY_check X-Git-Tag: openssl-3.0.0-alpha9~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6774a7289707061fb19bf5f32996147dcc9a860;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/13334) --- diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 8ee41ab5ce8..e0f6af1f061 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 */