instance method
OpenSSL::X509::Store#add_crl
(::OpenSSL::X509::CRL crl) -> self
store.add_crl(crl) → self
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509store_add_crl(VALUE self, VALUE arg)
{
X509_STORE *store;
X509_CRL *crl;
crl = GetX509CRLPtr(arg); /* NO NEED TO DUP */
GetX509Store(self, store);
if (X509_STORE_add_crl(store, crl) != 1)
ossl_raise(eX509StoreError, "X509_STORE_add_crl");
return self;
}
Adds the OpenSSL::X509::CRL crl to the store.
See also the man page X509_STORE_add_crl(3).