Otherwise the with OPENSSL_TEST_RAND_ORDER following tests will
be broken. There is also no real need to do that.
Fixes #14070
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14305)
static int test_EVP_rsa_pss_with_keygen_bits(void)
{
int ret;
- OSSL_PROVIDER *provider;
EVP_PKEY_CTX *ctx;
EVP_PKEY *pkey;
const EVP_MD *md;
pkey = NULL;
ret = 0;
- provider = OSSL_PROVIDER_load(NULL, "default");
- md = EVP_get_digestbyname("sha256");
+ md = EVP_get_digestbyname("sha256");
ret = TEST_ptr((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA_PSS, NULL)))
&& TEST_true(EVP_PKEY_keygen_init(ctx))
&& TEST_int_gt(EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, 512), 0)
EVP_PKEY_free(pkey);
EVP_PKEY_CTX_free(ctx);
- OSSL_PROVIDER_unload(provider);
return ret;
}