diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-21 23:54:59 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:29:11 +0000 |
commit | aae3233e1e08e9f11742f8f351af5c98cd8add16 (patch) | |
tree | 3c7376c5f70e5636aac3ee064cdd3c5438fb468b /ssl/s2_srvr.c | |
parent | 04f7cbea11b520bc2452d5852b3ca8dcb6fa76c9 (diff) |
More tweaks for comments due indent issuesOpenSSL_1_0_2-pre-auto-reformat
Conflicts:
ssl/ssl_ciph.c
ssl/ssl_locl.h
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/s2_srvr.c')
-rw-r--r-- | ssl/s2_srvr.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index b33a74e373..2ade6309a0 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -975,9 +975,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; |