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_0e~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dff827da751525b0e32ecb59a1d382b03f34a4de;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) (cherry picked from commit 52f4840cb237cc37cad5eac8328828cf3d3e1049) --- diff --git a/apps/s_cb.c b/apps/s_cb.c index 9535f12690..e0acd51b22 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -922,6 +922,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: