Simplify and add help about OPT_PVK* options
[openssl.git] / apps / crl.c
index 0140ff749cd5ecf0e5f6dbc7ba10f9f43c2e18da..0e8093ce1636554f5f17763c83ba23521042f86c 100644 (file)
@@ -250,11 +250,10 @@ int crl_main(int argc, char **argv)
     }
 
     if (badsig) {
-        ASN1_BIT_STRING *sig;
+        const ASN1_BIT_STRING *sig;
 
-        X509_CRL_get0_signature(&sig, NULL, x);
-        if (!corrupt_signature(sig))
-            goto end;
+        X509_CRL_get0_signature(x, &sig, NULL);
+        corrupt_signature(sig);
     }
 
     if (num) {