static void *
inner_evp_generic_fetch(struct evp_method_data_st *methdata,
OSSL_PROVIDER *prov, int operation_id,
- const char *name, const char *properties,
+ const char *name, ossl_unused const char *properties,
void *(*new_method)(int name_id,
const OSSL_ALGORITHM *algodef,
OSSL_PROVIDER *prov),
{
OSSL_METHOD_STORE *store = get_evp_method_store(methdata->libctx);
OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx);
+#ifdef FIPS_MODULE
+ /*
+ * The FIPS provider has its own internal library context where only it
+ * is loaded. Consequently, property queries aren't relevant because
+ * there is only one fetchable algorithm and it is assumed that the
+ * FIPS-ness is handled by the using algorithm.
+ */
+ const char *const propq = "";
+#else
const char *const propq = properties != NULL ? properties : "";
+#endif /* FIPS_MODULE */
uint32_t meth_id = 0;
void *method = NULL;
int unsupported, name_id;