summaryrefslogtreecommitdiffstats
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-10-19 12:34:15 +0100
committerBen Laurie <ben@links.org>2013-10-19 12:34:15 +0100
commit34e43b909f02de444678d937ed3dc347ce13ba1a (patch)
treebeb8ac1ae8c4c0e7c86ff397e599d30f44d73c8e /ssl/d1_clnt.c
parent62036c6fc370eb57422d3d7925070b82d2b980ac (diff)
Cleanup.
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 556ac9ccc7..492d6dfbee 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -798,11 +798,10 @@ int dtls1_client_hello(SSL *s)
/* if client_random is initialized, reuse it, we are
* required to use same upon reply to HelloVerify */
- for (i=0;p[i]=='\0' && i<sizeof(s->s3->client_random);i++) ;
+ for (i=0;p[i]=='\0' && i<sizeof(s->s3->client_random);i++)
+ ;
if (i==sizeof(s->s3->client_random))
- {
ssl_fill_hello_random(s,0,p,sizeof(s->s3->client_random));
- }
/* Do the message type and length last */
d=p= &(buf[DTLS1_HM_HEADER_LENGTH]);