summaryrefslogtreecommitdiffstats
path: root/ssl/s2_srvr.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-21 23:54:59 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:52:40 +0000
commitbc91221636b969309f5b9e9a9ea6e6550cdf08cb (patch)
tree0f395355784e340e847afef1838510a894c77675 /ssl/s2_srvr.c
parentb9006da5d7da1e29dbc9bd5ba36dbafec7a6f041 (diff)
More tweaks for comments due indent issues
Conflicts: ssl/ssl_ciph.c Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/s2_srvr.c')
-rw-r--r--ssl/s2_srvr.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c
index 5bc2095c1a..a53eba2208 100644
--- a/ssl/s2_srvr.c
+++ b/ssl/s2_srvr.c
@@ -967,9 +967,13 @@ static int request_certificate(SSL *s)
if (s->state == SSL2_ST_SEND_REQUEST_CERTIFICATE_C)
{
p=(unsigned char *)s->init_buf->data;
- i=ssl2_read(s,(char *)&(p[s->init_num]),6-s->init_num); /* try to read 6 octets ... */
- if (i < 3-s->init_num) /* ... but don't call ssl2_part_read now if we got at least 3
- * (probably NO-CERTIFICATE-ERROR) */
+ /* try to read 6 octets ... */
+ i=ssl2_read(s,(char *)&(p[s->init_num]),6-s->init_num);
+ /*
+ * ... but don't call ssl2_part_read now if we got at least 3
+ * (probably NO-CERTIFICATE-ERROR)
+ */
+ if (i < 3-s->init_num)
{
ret=ssl2_part_read(s,SSL_F_REQUEST_CERTIFICATE,i);
goto end;