From dff827da751525b0e32ecb59a1d382b03f34a4de Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 14 Feb 2017 17:18:00 +0000 Subject: [PATCH] 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) --- apps/s_cb.c | 1 + 1 file changed, 1 insertion(+) 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: -- 2.25.1