Use correct variable in test diagnostic
authorBenjamin Kaduk <bkaduk@akamai.com>
Mon, 13 Feb 2017 20:14:06 +0000 (14:14 -0600)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Feb 2017 18:40:26 +0000 (19:40 +0100)
commit694c9180d7f082b896692048052413fc5dc4e467
tree08de32b494c13e0c773ece8326be56db0402e75a
parent0f82d2f5841fd1c0883f1570632f74c33ce2034c
Use correct variable in test diagnostic

create_ssl_connection() prints out the results if SSL_accept() and/or
SSL_connect() fail, but was reusing the client return value when printing
about SSL_accept() failures.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2279)
test/ssltestlib.c