Enable or disable the FIPS constraint in a library context's default properties.
Declared in <openssl/evp.h>
int
EVP_default_properties_enable_fips(
OSSL_LIB_CTX* libctx,
int enable);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| libctx | Library context to update, or NULL for the default context. |
| enable | Non-zero to require FIPS algorithms in default fetches, or 0 to clear that constraint. |