diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-19 13:42:01 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 10:20:06 +0100 |
commit | e636e2acd753fb68f587c9fac2f381ad8c153528 (patch) | |
tree | 356224f7a2b351eeba71d2d44121a24fb072397b /ssl/s3_srvr.c | |
parent | Yet more comments (diff) | |
download | openssl-e636e2acd753fb68f587c9fac2f381ad8c153528.tar.xz openssl-e636e2acd753fb68f587c9fac2f381ad8c153528.zip |
Fix source where indent will not be able to cope
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 8550c1b783..df737bd034 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1051,8 +1051,9 @@ int ssl3_get_client_hello(SSL *s) } /* else cookie verification succeeded */ } + /* default verification */ else if ( memcmp(s->d1->rcvd_cookie, s->d1->cookie, - s->d1->cookie_len) != 0) /* default verification */ + s->d1->cookie_len) != 0) { al=SSL_AD_HANDSHAKE_FAILURE; SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, @@ -2200,7 +2201,7 @@ int ssl3_get_client_key_exchange(SSL *s) SSL3_ST_SR_KEY_EXCH_A, SSL3_ST_SR_KEY_EXCH_B, SSL3_MT_CLIENT_KEY_EXCHANGE, - 2048, /* ??? */ + 2048, &ok); if (!ok) return((int)n); @@ -3659,11 +3660,12 @@ int ssl3_get_next_proto(SSL *s) return -1; } + /* See the payload format below */ n=s->method->ssl_get_message(s, SSL3_ST_SR_NEXT_PROTO_A, SSL3_ST_SR_NEXT_PROTO_B, SSL3_MT_NEXT_PROTO, - 514, /* See the payload format below */ + 514, &ok); if (!ok) |