CMS_add1_crl

Add a CRL to a SignedData or EnvelopedData CMS ContentInfo (up-refs the CRL).

Synopsis

Declared in <openssl/cms.h>

int
CMS_add1_crl(
    CMS_ContentInfo* cms,
    X509_CRL* crl);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cmsContentInfo of type signed data or (authenticated) enveloped data.
crlCRL to include; the caller retains ownership and must free it.