[#OSSL_STORE_find]
= OSSL&lowbar;STORE&lowbar;find
:mrdocs:

Attach a search criterion to an open store before loading&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;STORE&lowbar;find(
    xref:OSSL_STORE_CTX.adoc[OSSL&lowbar;STORE&lowbar;CTX]* ctx,
    xref:OSSL_STORE_SEARCH.adoc[OSSL&lowbar;STORE&lowbar;SEARCH] const* search);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Open store context&semi; must be called before the first OSSL&lowbar;STORE&lowbar;load()&period;
| *search*
| Search criterion from OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;by&lowbar;&ast;()&period;
|===


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