3e052de5a0
RFC 5746 forbids a server from downgrading or upgrading renegotiation_info support. Even with SSL_OP_LEGACY_SERVER_CONNECT set (the default), we can still enforce a few things. I do not believe this has practical consequences. The attack variant where the server half is prefixed does not involve a renegotiation on the client. The converse where the client sees the renegotiation and prefix does, but we only support renego for the mid-stream HTTP/1.1 client auth hack, which doesn't do this. (And with triple-handshake, HTTPS clients should be requiring the certificate be unchanged across renego which makes this moot.) Ultimately, an application which makes the mistake of using renegotiation needs to be aware of what exactly that means and how to handle connection state changing mid-stream. We make renego opt-in now, so this is a tenable requirement. (Also the legacy -> secure direction would have been caught by the server anyway since we send a non-empty RI extension.) Change-Id: I915965c342f8a9cf3a4b6b32f0a87a00c3df3559 Reviewed-on: https://boringssl-review.googlesource.com/6559 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
pqueue | ||
test | ||
CMakeLists.txt | ||
custom_extensions.c | ||
d1_both.c | ||
d1_clnt.c | ||
d1_lib.c | ||
d1_meth.c | ||
d1_pkt.c | ||
d1_srtp.c | ||
d1_srvr.c | ||
dtls_record.c | ||
internal.h | ||
s3_both.c | ||
s3_clnt.c | ||
s3_enc.c | ||
s3_lib.c | ||
s3_meth.c | ||
s3_pkt.c | ||
s3_srvr.c | ||
ssl_aead_ctx.c | ||
ssl_asn1.c | ||
ssl_buffer.c | ||
ssl_cert.c | ||
ssl_cipher.c | ||
ssl_file.c | ||
ssl_lib.c | ||
ssl_rsa.c | ||
ssl_session.c | ||
ssl_stat.c | ||
ssl_test.cc | ||
t1_enc.c | ||
t1_lib.c | ||
tls_record.c |