diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-09-21 12:48:56 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-09-21 12:48:56 +0000 |
commit | 1182301ca725de1b01371d0fb9b27ae2414c21c2 (patch) | |
tree | 6cea207c5083f0cb407b4fa1ddaeb9b129ca331e /crypto/asn1/x_crl.c | |
parent | 010fa0b33169cfc9179bda29c34c05af80f78e27 (diff) |
Do CRL method init after other operations.
Diffstat (limited to 'crypto/asn1/x_crl.c')
-rw-r--r-- | crypto/asn1/x_crl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c index 266c497f33..0c4dd554c7 100644 --- a/crypto/asn1/x_crl.c +++ b/crypto/asn1/x_crl.c @@ -137,8 +137,6 @@ static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, crl->akid = X509_CRL_get_ext_d2i(crl, NID_authority_key_identifier, NULL, NULL); - if (crl->meth && crl->meth->crl_init) - return crl->meth->crl_init(crl); /* See if we have any unhandled critical CRL extensions and * indicate this in a flag. We only currently handle IDP so @@ -163,6 +161,8 @@ static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, break; } } + if (crl->meth && crl->meth->crl_init) + return crl->meth->crl_init(crl); break; case ASN1_OP_FREE_POST: |