[#CMS_add1_crl]
= CMS&lowbar;add1&lowbar;crl
:mrdocs:

Add a CRL to a SignedData or EnvelopedData CMS ContentInfo (up&hyphen;refs the CRL)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;add1&lowbar;crl(
    xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms,
    xref:X509_CRL.adoc[X509&lowbar;CRL]* crl);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo of type signed data or (authenticated) enveloped data&period;
| *crl*
| CRL to include&semi; the caller retains ownership and must free it&period;
|===


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