[#PKCS7_add_crl]
= PKCS7&lowbar;add&lowbar;crl
:mrdocs:

Add a certificate revocation list to a PKCS&num;7 SignedData or SignedAndEnvelopedData structure&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PKCS7&lowbar;add&lowbar;crl(
    xref:PKCS7.adoc[PKCS7]* p7,
    xref:X509_CRL.adoc[X509&lowbar;CRL]* crl);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p7*
| PKCS&num;7 object that already has a signed content type&period;
| *crl*
| CRL to include&semi; a reference is retained by `p7&period;`
|===


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