[#OSSL_PARAM_locate]
= OSSL&lowbar;PARAM&lowbar;locate
:mrdocs:

Find the first OSSL&lowbar;PARAM in `p` whose key matches `key&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM]*
OSSL&lowbar;PARAM&lowbar;locate(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM]* p,
    char const* key);
----

== Return Value

Pointer to the matching element, or NULL if not found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Parameter array terminated by OSSL&lowbar;PARAM&lowbar;construct&lowbar;end(), or NULL&period;
| *key*
| Parameter name to search for&period;
|===


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