diff options
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r-- | src/lib/libssl/s3_srvr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c index bd22569ef0..c948045ae4 100644 --- a/src/lib/libssl/s3_srvr.c +++ b/src/lib/libssl/s3_srvr.c | |||
@@ -1130,10 +1130,7 @@ ssl3_get_client_hello(SSL *s) | |||
1130 | { | 1130 | { |
1131 | unsigned char *pos; | 1131 | unsigned char *pos; |
1132 | pos = s->s3->server_random; | 1132 | pos = s->s3->server_random; |
1133 | if (ssl_fill_hello_random(s, 1, pos, SSL3_RANDOM_SIZE) <= 0) { | 1133 | RAND_pseudo_bytes(pos, SSL3_RANDOM_SIZE); |
1134 | al = SSL_AD_INTERNAL_ERROR; | ||
1135 | goto f_err; | ||
1136 | } | ||
1137 | } | 1134 | } |
1138 | 1135 | ||
1139 | if (!s->hit && s->version >= TLS1_VERSION && s->tls_session_secret_cb) { | 1136 | if (!s->hit && s->version >= TLS1_VERSION && s->tls_session_secret_cb) { |