[#EVP_set_default_properties]
= EVP&lowbar;set&lowbar;default&lowbar;properties
:mrdocs:

Set the default property query string used for algorithm fetches in `libctx&period;`

== Synopsis

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

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

== 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;
| *propq*
| Property query string (for example &quot;fips&equals;yes&quot;), or NULL to clear&period;
|===


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