projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Addenum to http://cvs.openssl.org/chngview?cn=13054.
[openssl.git]
/
ssl
/
s3_clnt.c
diff --git
a/ssl/s3_clnt.c
b/ssl/s3_clnt.c
index 56dbf75fe3d48750d14ed65d41e9bb0d2aecfc30..54598f0f8bf4e082a7933dbac2ee2d2f2fbb6dd0 100644
(file)
--- a/
ssl/s3_clnt.c
+++ b/
ssl/s3_clnt.c
@@
-562,7
+562,7
@@
static int ssl3_client_hello(SSL *s)
p=s->s3->client_random;
Time=time(NULL); /* Time */
l2n(Time,p);
- RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-
sizeof(Time)
);
+ RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-
4
);
/* Do the message type and length last */
d=p= &(buf[4]);