mirror of
https://github.com/openssl/openssl.git
synced 2024-12-18 22:43:41 +08:00
Fix comment
Fix a comment following commit c2c49969e2
.
RT2388
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
5ec84dd75f
commit
e7653f3bab
@ -2521,8 +2521,7 @@ static int ssl_scan_serverhello_tlsext(SSL *s, PACKET *pkt, int *al)
|
||||
* an attack we should *always* see RI even on initial server hello
|
||||
* because the client doesn't see any renegotiation during an attack.
|
||||
* However this would mean we could not connect to any server which
|
||||
* doesn't support RI so for the immediate future tolerate RI absence on
|
||||
* initial connect only.
|
||||
* doesn't support RI so for the immediate future tolerate RI absence
|
||||
*/
|
||||
if (!renegotiate_seen && !(s->options & SSL_OP_LEGACY_SERVER_CONNECT)
|
||||
&& !(s->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)) {
|
||||
|
Loading…
Reference in New Issue
Block a user