diff options
Diffstat (limited to 'src/lib/libssl/s3_clnt.c')
-rw-r--r-- | src/lib/libssl/s3_clnt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index f2c7dd2442..45dfb64f92 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
@@ -674,9 +674,7 @@ ssl3_client_hello(SSL *s) | |||
674 | /* else use the pre-loaded session */ | 674 | /* else use the pre-loaded session */ |
675 | 675 | ||
676 | p = s->s3->client_random; | 676 | p = s->s3->client_random; |
677 | 677 | RAND_pseudo_bytes(p, SSL3_RANDOM_SIZE); | |
678 | if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0) | ||
679 | goto err; | ||
680 | 678 | ||
681 | /* Do the message type and length last */ | 679 | /* Do the message type and length last */ |
682 | d = p = &(buf[4]); | 680 | d = p = &(buf[4]); |