[#EVP_default_properties_enable_fips]
= EVP&lowbar;default&lowbar;properties&lowbar;enable&lowbar;fips
:mrdocs:

Enable or disable the FIPS constraint in a library context&apos;s default properties&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;default&lowbar;properties&lowbar;enable&lowbar;fips(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    int enable);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context to update, or NULL for the default context&period;
| *enable*
| Non&hyphen;zero to require FIPS algorithms in default fetches, or 0 to clear that constraint&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
