From 886e7b4e8496825506fcddbdd782a52e1730e168 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 6 Apr 2020 16:45:50 +0000 Subject: Dump the test data when the lengths differ in order to aid debugging. --- src/regress/lib/libssl/client/clienttest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/regress/lib/libssl/client/clienttest.c b/src/regress/lib/libssl/client/clienttest.c index 0b2f06d1e8..b22b26eca4 100644 --- a/src/regress/lib/libssl/client/clienttest.c +++ b/src/regress/lib/libssl/client/clienttest.c @@ -395,6 +395,9 @@ client_hello_test(int testno, struct client_hello_test *cht) "want %zu\n", len, client_hello_len); fprintf(stderr, "received:\n"); hexdump(wbuf, len); + fprintf(stderr, "test data:\n"); + hexdump(client_hello, client_hello_len); + fprintf(stderr, "\n"); goto failure; } -- cgit v1.2.3-55-g6feb