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;
}
}
}
argc = opt_num_rest();
- argv = opt_rest();
+ if (argc != 0)
+ goto opthelp;
if (!nocrl) {
in = bio_open_default(infile, 'r', informat);