Fix excert logic.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 17 Nov 2014 16:30:51 +0000 (16:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 19 Nov 2014 22:52:56 +0000 (22:52 +0000)
commit764b6a3551919e3e98b5048891688c4a615291d7
treee2673ff6fe8cb4b0cf17c5ffab699683f60b3fd2
parent3881d8106df732fc433d30446625dfa2396da42d
Fix excert logic.

If no keyfile has been specified use the certificate file instead.

Fix typo: we need to check the chain is not NULL, not the chain file.
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 786370b1b09b919d9306f27336e13783e4fe3fd0)
apps/s_cb.c