Fix option value parsing in crl2pkcs7 -certfile

Reviewed-by: Rich Saltz <rsalz@openssl.org>
This commit is contained in:
Viktor Dukhovni 2015-12-13 20:25:16 -05:00
parent 7eff6aa0d6
commit a465ca7841

View File

@ -138,7 +138,7 @@ int crl2pkcs7_main(int argc, char **argv)
if ((certflst == NULL)
&& (certflst = sk_OPENSSL_STRING_new_null()) == NULL)
goto end;
if (!sk_OPENSSL_STRING_push(certflst, *(++argv))) {
if (!sk_OPENSSL_STRING_push(certflst, opt_arg())) {
sk_OPENSSL_STRING_free(certflst);
goto end;
}