From 06f5d12f511ad81a05e82b3473832a1d1d560172 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 11 Aug 2014 22:03:21 +0100 Subject: [PATCH] Include error messages on extension check failure. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- ssl/ssltest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/ssltest.c b/ssl/ssltest.c index efcd6686b8..f20553fc2f 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -2103,6 +2103,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, #endif if (verify_serverinfo() < 0) { + fprintf(stderr, "Server info verify error\n"); ret = 1; goto err; } @@ -2114,6 +2115,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, if (custom_ext_error) { + fprintf(stderr, "Custom extension error\n"); ret = 1; goto err; } @@ -2435,11 +2437,13 @@ int doit(SSL *s_ssl, SSL *c_ssl, long count) #endif if (verify_serverinfo() < 0) { + fprintf(stderr, "Server info verify error\n"); ret = 1; goto err; } if (custom_ext_error) { + fprintf(stderr, "Custom extension error\n"); ret = 1; goto err; } -- 2.25.1