diff options
| author | jsing <> | 2020-04-06 16:45:50 +0000 |
|---|---|---|
| committer | jsing <> | 2020-04-06 16:45:50 +0000 |
| commit | ff51012cdb035df195da4b0adb5d561d6827be09 (patch) | |
| tree | 78a75be5bc9acd4d1421dc93f8f935efacabb7b3 /src | |
| parent | bbd3055db371e102d601fe2187cf1b66bdbbdd76 (diff) | |
| download | openbsd-ff51012cdb035df195da4b0adb5d561d6827be09.tar.gz openbsd-ff51012cdb035df195da4b0adb5d561d6827be09.tar.bz2 openbsd-ff51012cdb035df195da4b0adb5d561d6827be09.zip | |
Dump the test data when the lengths differ in order to aid debugging.
Diffstat (limited to 'src')
| -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 | ||
