diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_srvr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 95dffe9484..164fcfbf1f 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
| @@ -145,7 +145,6 @@ int | |||
| 145 | dtls1_accept(SSL *s) | 145 | dtls1_accept(SSL *s) |
| 146 | { | 146 | { |
| 147 | BUF_MEM *buf; | 147 | BUF_MEM *buf; |
| 148 | unsigned long Time = (unsigned long)time(NULL); | ||
| 149 | void (*cb)(const SSL *ssl, int type, int val) = NULL; | 148 | void (*cb)(const SSL *ssl, int type, int val) = NULL; |
| 150 | unsigned long alg_k; | 149 | unsigned long alg_k; |
| 151 | int ret = -1; | 150 | int ret = -1; |
| @@ -156,7 +155,6 @@ dtls1_accept(SSL *s) | |||
| 156 | char labelbuffer[sizeof(DTLS1_SCTP_AUTH_LABEL)]; | 155 | char labelbuffer[sizeof(DTLS1_SCTP_AUTH_LABEL)]; |
| 157 | #endif | 156 | #endif |
| 158 | 157 | ||
| 159 | RAND_add(&Time, sizeof(Time), 0); | ||
| 160 | ERR_clear_error(); | 158 | ERR_clear_error(); |
| 161 | errno = 0; | 159 | errno = 0; |
| 162 | 160 | ||
