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:50:00 +0000 (22:50 +0000)
commit786370b1b09b919d9306f27336e13783e4fe3fd0
tree212635954f0a44ce7cc3c026d2d9f29260423fe5
parent56e8dc542bd693b2dccea8828b3d8e5fc6932d0c
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>
apps/s_cb.c