diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-12-05 17:32:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-12-05 17:32:22 +0000 |
commit | 974d52fdb8ed952ccadd764f56be1449d1930e2c (patch) | |
tree | 2502fab5e3c863583f60c41cfab673e2d68d1a7f /ssl/s3_srvr.c | |
parent | 7614f0e55e7e71f4089f1e15d76aa7dcce49599e (diff) |
Fix from HEAD.
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index f762480a02..39a6aeba68 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -164,7 +164,7 @@ IMPLEMENT_ssl3_meth_func(SSLv3_server_method, int ssl3_accept(SSL *s) { BUF_MEM *buf; - unsigned long l,Time=time(NULL); + unsigned long l,Time=(unsigned long)time(NULL); void (*cb)(const SSL *ssl,int type,int val)=NULL; long num1; int ret= -1; @@ -1038,7 +1038,7 @@ int ssl3_send_server_hello(SSL *s) { buf=(unsigned char *)s->init_buf->data; p=s->s3->server_random; - Time=time(NULL); /* Time */ + Time=(unsigned long)time(NULL); /* Time */ l2n(Time,p); if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-4) <= 0) return -1; |