From a465ca7841409522419954f28f4847b2423c75f3 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Sun, 13 Dec 2015 20:25:16 -0500 Subject: [PATCH] Fix option value parsing in crl2pkcs7 -certfile Reviewed-by: Rich Saltz --- apps/crl2p7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/crl2p7.c b/apps/crl2p7.c index 930875ac84..74bb893900 100644 --- a/apps/crl2p7.c +++ b/apps/crl2p7.c @@ -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; }