diff options
author | jsing <> | 2020-04-06 16:45:50 +0000 |
---|---|---|
committer | jsing <> | 2020-04-06 16:45:50 +0000 |
commit | 886e7b4e8496825506fcddbdd782a52e1730e168 (patch) | |
tree | 78a75be5bc9acd4d1421dc93f8f935efacabb7b3 /src/regress/lib | |
parent | d8c0de95f3fe598a98309a74fb59335db7d321d5 (diff) | |
download | openbsd-886e7b4e8496825506fcddbdd782a52e1730e168.tar.gz openbsd-886e7b4e8496825506fcddbdd782a52e1730e168.tar.bz2 openbsd-886e7b4e8496825506fcddbdd782a52e1730e168.zip |
Dump the test data when the lengths differ in order to aid debugging.
Diffstat (limited to 'src/regress/lib')
-rw-r--r-- | src/regress/lib/libssl/client/clienttest.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
395 | "want %zu\n", len, client_hello_len); | 395 | "want %zu\n", len, client_hello_len); |
396 | fprintf(stderr, "received:\n"); | 396 | fprintf(stderr, "received:\n"); |
397 | hexdump(wbuf, len); | 397 | hexdump(wbuf, len); |
398 | fprintf(stderr, "test data:\n"); | ||
399 | hexdump(client_hello, client_hello_len); | ||
400 | fprintf(stderr, "\n"); | ||
398 | goto failure; | 401 | goto failure; |
399 | } | 402 | } |
400 | 403 | ||