f2401eb42b
Every flush but the last is always immediately followed by a read. Add a combined wait mode to make things simpler. Unfortunately, both flights we have (the state machine doesn't write the first ClientHello) are followed immediately by a state change, which means we still need some state in between because we must run code after write_message but before read_message. (This way to fix that is to get rid of the buffer BIO, change write_message to write_flight, and allow things like init_message / finish_message / init_message / finish_message / set_write_state / init_message / finish_message / write_flight.) Change-Id: Iebaa388ccbe7fcad48c1b2256e1c0d3a7c9c8a2a Reviewed-on: https://boringssl-review.googlesource.com/8828 Reviewed-by: Steven Valdez <svaldez@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
custom_extensions.c | ||
d1_both.c | ||
d1_lib.c | ||
d1_pkt.c | ||
d1_srtp.c | ||
dtls_method.c | ||
dtls_record.c | ||
handshake_client.c | ||
handshake_server.c | ||
internal.h | ||
s3_both.c | ||
s3_enc.c | ||
s3_lib.c | ||
s3_pkt.c | ||
ssl_aead_ctx.c | ||
ssl_asn1.c | ||
ssl_buffer.c | ||
ssl_cert.c | ||
ssl_cipher.c | ||
ssl_ecdh.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 | ||
tls13_both.c | ||
tls13_client.c | ||
tls13_enc.c | ||
tls13_server.c | ||
tls_method.c | ||
tls_record.c |