projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb0d5d
)
Fix warning.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 1 Dec 2013 23:30:21 +0000
(23:30 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 1 Dec 2013 23:30:21 +0000
(23:30 +0000)
ssl/s23_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s23_clnt.c
b/ssl/s23_clnt.c
index 3aae2200ec40d037b776c47ac08927c68fd72331..710d4f228e4764e58a5ccc944a8902c5acb47f85 100644
(file)
--- a/
ssl/s23_clnt.c
+++ b/
ssl/s23_clnt.c
@@
-282,7
+282,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);