diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-04-06 16:45:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-04-06 16:45:51 +0000 |
commit | a8e84878f0b03ea23460f068a62cf220a40ee594 (patch) | |
tree | 1125fda86168db3285370ec9d3a8e1d99739ffa6 /regress/lib | |
parent | 8fa1e481f687bf8a15155c602313fec801c08524 (diff) |
Dump the test data when the lengths differ in order to aid debugging.
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libssl/client/clienttest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c index 0b2f06d1e8b..b22b26eca4e 100644 --- a/regress/lib/libssl/client/clienttest.c +++ b/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; } |