Display errors if a test TLS connection fails
authorMatt Caswell <matt@openssl.org>
Fri, 20 Mar 2020 11:58:34 +0000 (11:58 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Mar 2020 13:39:29 +0000 (14:39 +0100)
commite737adb42a641a33ee73031639c989dfb1283926
tree4c0bf8610bd02080c9f56880a082d92b257ceb99
parent20c98cd45399423f760dbd75d8912769c6b7b10e
Display errors if a test TLS connection fails

If a connection fails it is useful during debugging to have any errors
that are on the OpenSSL error stack at the time of the failure.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/11406)
test/ssltestlib.c