{
const char *name = "p_test_builtin";
OSSL_PROVIDER *prov = NULL;
+ int ret;
- return
+ /*
+ * We set properties that we know the providers we are using don't have.
+ * This should mean that the p_test provider will fail any fetches - which
+ * is something we test inside the provider.
+ */
+ EVP_set_default_properties(NULL, "fips=yes");
+
+ ret =
TEST_ptr(prov =
ossl_provider_new(NULL, name, PROVIDER_INIT_FUNCTION_NAME, 0))
&& test_provider(prov, expected_greeting1(name));
+
+ EVP_set_default_properties(NULL, "");
+
+ return ret;
}
#ifndef NO_PROVIDER_MODULE