summaryrefslogtreecommitdiff
path: root/regress/lib/libssl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libssl')
-rw-r--r--regress/lib/libssl/client/clienttest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c
index d198d277ede..d5effe3ffc7 100644
--- a/regress/lib/libssl/client/clienttest.c
+++ b/regress/lib/libssl/client/clienttest.c
@@ -413,6 +413,7 @@ client_hello_test(int testno, struct client_hello_test *cht)
memcmp(&client_hello[i], &wbuf[i], len - i) != 0) {
fprintf(stderr, "FAIL: ClientHello differs:\n");
fprintf(stderr, "received:\n");
+ memset(&wbuf[cht->random_start], 0, SSL3_RANDOM_SIZE);
hexdump(wbuf, len);
fprintf(stderr, "test data:\n");
hexdump(client_hello, client_hello_len);