diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-29 18:19:58 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-29 18:19:58 +0000 |
commit | 29ff70f82dfd90b5651054b1e095c18d9b9adae4 (patch) | |
tree | cb13e875cb5545b97330dd06126ee5992d27888b | |
parent | 0fd553791228491cdd8e18994b59b0183c2b74cb (diff) |
line up else better
-rw-r--r-- | lib/libssl/s3_clnt.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libssl/s3_clnt.c b/lib/libssl/s3_clnt.c index 4df299de9dd..7b4b3cce027 100644 --- a/lib/libssl/s3_clnt.c +++ b/lib/libssl/s3_clnt.c @@ -1413,8 +1413,7 @@ ssl3_get_key_exchange(SSL *s) } s->session->sess_cert->peer_rsa_tmp = rsa; rsa = NULL; - } - else if (alg_k & SSL_kEDH) { + } else if (alg_k & SSL_kEDH) { if ((dh = DH_new()) == NULL) { SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE, ERR_R_DH_LIB); @@ -1483,9 +1482,7 @@ ssl3_get_key_exchange(SSL *s) SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE, SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER); goto f_err; - } - - else if (alg_k & SSL_kEECDH) { + } else if (alg_k & SSL_kEECDH) { EC_GROUP *ngroup; const EC_GROUP *group; |