From: Dr. Stephen Henson Date: Tue, 14 Feb 2017 17:18:00 +0000 (+0000) Subject: Make -xcert work again. X-Git-Tag: OpenSSL_1_1_1-pre1~2407 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52f4840cb237cc37cad5eac8328828cf3d3e1049;p=oweals%2Fopenssl.git Make -xcert work again. When a certificate is prepended update the list pointer. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2628) --- diff --git a/apps/s_cb.c b/apps/s_cb.c index e0d432dc75..0111c24e96 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -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: