diff options
author | jsing <> | 2018-06-02 15:51:43 +0000 |
---|---|---|
committer | jsing <> | 2018-06-02 15:51:43 +0000 |
commit | be2eb562a3b6b24f6f7bf2a5fe7b2fbce5209289 (patch) | |
tree | 17218f2eac63684ddb13660452740fef0a5e1c50 /src | |
parent | 49a6a67825dd906dd3954d89449cf414223296be (diff) | |
download | openbsd-be2eb562a3b6b24f6f7bf2a5fe7b2fbce5209289.tar.gz openbsd-be2eb562a3b6b24f6f7bf2a5fe7b2fbce5209289.tar.bz2 openbsd-be2eb562a3b6b24f6f7bf2a5fe7b2fbce5209289.zip |
Zero the client random so that it is easier to spot unintended differences.
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libssl/client/clienttest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/client/clienttest.c b/src/regress/lib/libssl/client/clienttest.c index d198d277ed..d5effe3ffc 100644 --- a/src/regress/lib/libssl/client/clienttest.c +++ b/src/regress/lib/libssl/client/clienttest.c | |||
@@ -413,6 +413,7 @@ client_hello_test(int testno, struct client_hello_test *cht) | |||
413 | memcmp(&client_hello[i], &wbuf[i], len - i) != 0) { | 413 | memcmp(&client_hello[i], &wbuf[i], len - i) != 0) { |
414 | fprintf(stderr, "FAIL: ClientHello differs:\n"); | 414 | fprintf(stderr, "FAIL: ClientHello differs:\n"); |
415 | fprintf(stderr, "received:\n"); | 415 | fprintf(stderr, "received:\n"); |
416 | memset(&wbuf[cht->random_start], 0, SSL3_RANDOM_SIZE); | ||
416 | hexdump(wbuf, len); | 417 | hexdump(wbuf, len); |
417 | fprintf(stderr, "test data:\n"); | 418 | fprintf(stderr, "test data:\n"); |
418 | hexdump(client_hello, client_hello_len); | 419 | hexdump(client_hello, client_hello_len); |