Method: OpenSSL::X509::StoreContext#current_crl

Defined in:
ossl_x509store.c

#current_crlX509::CRL

Returns:



681
682
683
684
685
686
687
688
689
690
691
692
693
# File 'ossl_x509store.c', line 681

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);
}