instance method
OpenSSL::X509::StoreContext#current_crl
() -> ::OpenSSL::X509::CRL
stctx.current_crl → X509::CRL
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509stctx_get_curr_crl(VALUE self)
{
X509_STORE_CTX *ctx;
X509_CRL *crl;
GetX509StCtx(self, ctx);
crl = X509_STORE_CTX_get0_current_crl(ctx);
if (!crl)
return Qnil;
return ossl_x509crl_new(crl);
}
Returns the CRL which caused the error.
See also the man page X509_STORE_CTX_get_current_crl(3).