diff options
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r-- | src/lib/libssl/s3_srvr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c index eeadb160d1..14066031ca 100644 --- a/src/lib/libssl/s3_srvr.c +++ b/src/lib/libssl/s3_srvr.c | |||
@@ -210,12 +210,11 @@ int | |||
210 | ssl3_accept(SSL *s) | 210 | ssl3_accept(SSL *s) |
211 | { | 211 | { |
212 | BUF_MEM *buf; | 212 | BUF_MEM *buf; |
213 | unsigned long alg_k, Time = (unsigned long)time(NULL); | 213 | unsigned long alg_k; |
214 | void (*cb)(const SSL *ssl, int type, int val) = NULL; | 214 | void (*cb)(const SSL *ssl, int type, int val) = NULL; |
215 | int ret = -1; | 215 | int ret = -1; |
216 | int new_state, state, skip = 0; | 216 | int new_state, state, skip = 0; |
217 | 217 | ||
218 | RAND_add(&Time, sizeof(Time), 0); | ||
219 | ERR_clear_error(); | 218 | ERR_clear_error(); |
220 | errno = 0; | 219 | errno = 0; |
221 | 220 | ||