}
}
+ if (badsig) {
+ ASN1_BIT_STRING *sig;
+
+ X509_CRL_get0_signature(&sig, NULL, x);
+ if (!corrupt_signature(sig))
+ goto end;
+ }
+
if (num) {
for (i = 1; i <= num; i++) {
if (issuer == i) {
goto end;
}
- if (badsig) {
- ASN1_BIT_STRING *sig;
- X509_CRL_get0_signature(&sig, NULL, x);
- if (!corrupt_signature(sig))
- goto end;
- }
-
if (outformat == FORMAT_ASN1)
i = (int)i2d_X509_CRL_bio(out, x);
else
objtmp = NULL;
}
+ if (badsig) {
+ ASN1_BIT_STRING *signature;
+ X509_get0_signature(&signature, NULL, x);
+ if (!corrupt_signature(signature))
+ goto end;
+ }
+
if (num) {
for (i = 1; i <= num; i++) {
if (issuer == i) {
goto end;
}
- if (badsig) {
- ASN1_BIT_STRING *signature;
- X509_get0_signature(&signature, NULL, x);
- if (!corrupt_signature(signature))
- goto end;
- }
-
if (outformat == FORMAT_ASN1)
i = i2d_X509_bio(out, x);
else if (outformat == FORMAT_PEM) {