diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-02-14 17:18:00 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-02-14 17:47:39 +0000 |
commit | dff827da751525b0e32ecb59a1d382b03f34a4de (patch) | |
tree | 734d818f35b768bcac79c39d94a503f88f695be4 /apps | |
parent | 55f0883dadcf38ddcf11d6a17899fd8a19ee146c (diff) |
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)
(cherry picked from commit 52f4840cb237cc37cad5eac8328828cf3d3e1049)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_cb.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |