Make -xcert work again.

When a certificate is prepended update the list pointer.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2628)
This commit is contained in:
Dr. Stephen Henson 2017-02-14 17:18:00 +00:00
parent deb2d5e7e3
commit 52f4840cb2

View File

@ -944,6 +944,7 @@ int args_excert(int opt, SSL_EXCERT **pexc)
BIO_printf(bio_err, "%s: Error adding xcert\n", opt_getprog());
goto err;
}
*pexc = exc;
exc->certfile = opt_arg();
break;
case OPT_X_KEY: