ac8302a092
setup_key_block is called when the first CCS resolves, but for resumptions this is the incoming CCS (see ssl3_do_change_cipher_spec). Rather than set need_record_splitting there, it should be set in the write case of tls1_change_cipher_state. This fixes a crash from the new record layer code in resumption when record-splitting is enabled. Tweak the record-splitting tests to cover this case. This also fixes a bug where renego from a cipher which does require record splitting to one which doesn't continues splitting. Since version switches are not allowed, this can only happen after a renego from CBC to RC4. Change-Id: Ie4e1b91282b10f13887b51d1199f76be4fbf09ad Reviewed-on: https://boringssl-review.googlesource.com/5787 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
alert.go | ||
cert.pem | ||
chacha20_poly1305_test.go | ||
chacha20_poly1305.go | ||
channel_id_key.pem | ||
cipher_suites.go | ||
common.go | ||
conn.go | ||
dtls.go | ||
ecdsa_cert.pem | ||
ecdsa_key.pem | ||
handshake_client.go | ||
handshake_messages.go | ||
handshake_server.go | ||
key_agreement.go | ||
key.pem | ||
packet_adapter.go | ||
poly1305.go | ||
prf.go | ||
recordingconn.go | ||
runner.go | ||
test_output.go | ||
ticket.go | ||
tls.go |