[#OSSL_CMP_CTX_reqExtensions_have_SAN]
= OSSL&lowbar;CMP&lowbar;CTX&lowbar;reqExtensions&lowbar;have&lowbar;SAN
:mrdocs:

Test whether the context contains a Subject Alternative Name extension&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CMP&lowbar;CTX&lowbar;reqExtensions&lowbar;have&lowbar;SAN(xref:OSSL_CMP_CTX.adoc[OSSL&lowbar;CMP&lowbar;CTX]* ctx);
----

== Return Value

1 if a SAN extension is present, 0 if not, or &hyphen;1 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| CMP context&period;
|===


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