diff options
| author | jsing <> | 2018-06-02 15:51:43 +0000 |
|---|---|---|
| committer | jsing <> | 2018-06-02 15:51:43 +0000 |
| commit | 43a458ea42e914e0cf7a1e28dfd3a8abb6e240c0 (patch) | |
| tree | 17218f2eac63684ddb13660452740fef0a5e1c50 /src | |
| parent | d387237931d17dffcba378b52465111805acfef5 (diff) | |
| download | openbsd-43a458ea42e914e0cf7a1e28dfd3a8abb6e240c0.tar.gz openbsd-43a458ea42e914e0cf7a1e28dfd3a8abb6e240c0.tar.bz2 openbsd-43a458ea42e914e0cf7a1e28dfd3a8abb6e240c0.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); |
