Simplify and add help about OPT_PVK* options
[openssl.git] / apps / crl.c
index abcbc45cc9273057ad9f040ea9d790ec80d7884a..0e8093ce1636554f5f17763c83ba23521042f86c 100644 (file)
@@ -250,9 +250,9 @@ 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);
+        X509_CRL_get0_signature(x, &sig, NULL);
         corrupt_signature(sig);
     }