diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-12-01 23:30:21 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-01 13:37:04 +0100 |
commit | 2580ab4ed700fbb0c3664c1e7696dea1afd4d68a (patch) | |
tree | dc7c4c5e26b915580a281f50bebaa2148e32d661 /ssl/s23_clnt.c | |
parent | 9cd86abb51c2cc76fcb33080620f319bd5fcb47d (diff) |
Fix warning.
(cherry picked from commit c97ec5631bb08a2171a125008d2f0d2a75687aaa)
Diffstat (limited to 'ssl/s23_clnt.c')
-rw-r--r-- | ssl/s23_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index dad7e3af3b..e32fbbff4f 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -285,7 +285,7 @@ int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, int len) send_time = (s->mode & SSL_MODE_SEND_CLIENTHELLO_TIME) != 0; if (send_time) { - unsigned long Time = time(NULL); + unsigned long Time = (unsigned long)time(NULL); unsigned char *p = result; l2n(Time, p); return RAND_pseudo_bytes(p, len-4); |