diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-18 14:17:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-07-18 14:30:14 +0100 |
commit | 23dd09b5e96039300ba0196c122046d1d0b31af1 (patch) | |
tree | cf2f197db170c0ee18fd1593c6e2955eb81b49af /ssl | |
parent | eb5561cd775ca533a919f93fc0e1d13aa70f3760 (diff) |
Fix formatting in statem_srvr.c based on review feedback
Also elaborated a comment based on feedback.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_srvr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index afeeee7bd4..b9d25ee106 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -104,11 +104,12 @@ int ossl_statem_server_read_transition(SSL *s, int mt) if (mt == SSL3_MT_CLIENT_KEY_EXCHANGE) { if (s->s3->tmp.cert_request) { if (s->version == SSL3_VERSION) { - if ((s->verify_mode & SSL_VERIFY_PEER) && - (s->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT)) { + if ((s->verify_mode & SSL_VERIFY_PEER) + && (s->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT)) { /* * This isn't an unexpected message as such - we're just - * not going to accept it. + * not going to accept it because we require a client + * cert. */ ssl3_send_alert(s, SSL3_AL_FATAL, SSL3_AD_HANDSHAKE_FAILURE); |