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_clnt.c | |
parent | 7614f0e55e7e71f4089f1e15d76aa7dcce49599e (diff) |
Fix from HEAD.
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r-- | ssl/s3_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index eb7e87f9b1..9f0a7f9ac3 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -159,7 +159,7 @@ IMPLEMENT_ssl3_meth_func(SSLv3_client_method, int ssl3_connect(SSL *s) { BUF_MEM *buf=NULL; - unsigned long Time=time(NULL),l; + unsigned long Time=(unsigned long)time(NULL),l; long num1; void (*cb)(const SSL *ssl,int type,int val)=NULL; int ret= -1; @@ -541,7 +541,7 @@ int ssl3_client_hello(SSL *s) /* else use the pre-loaded session */ p=s->s3->client_random; - Time=time(NULL); /* Time */ + Time=(unsigned long)time(NULL); /* Time */ l2n(Time,p); if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-4) <= 0) goto err; |