[#OSSL_CRMF_MSG_set0_extensions]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set0&lowbar;extensions
:mrdocs:

Set X&period;509 extensions in the certTemplate of a CRMF CertReqMsg&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set0&lowbar;extensions(
    xref:OSSL_CRMF_MSG.adoc[OSSL&lowbar;CRMF&lowbar;MSG]* crm,
    xref:X509_EXTENSIONS.adoc[X509&lowbar;EXTENSIONS]* exts);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *crm*
| CertReqMsg to update&period;
| *exts*
| Extensions stack to install&semi; any previous extensions are freed and ownership of `exts` is transferred&period;
|===


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