openssl/ssl
Matt Caswell 424afe931e Don't wait for dry at the end of a handshake
For DTLS/SCTP we were waiting for a dry event during the call to
tls_finish_handshake(). This function just tidies up various internal
things, and after it completes the handshake is over. I can find no good
reason for waiting for a dry event here, and nothing in RFC6083 suggests
to me that we should need to. More importantly though it seems to be
wrong. It is perfectly possible for a peer to send app data/alerts/new
handshake while we are still cleaning up our handshake. If this happens
then we will never get the dry event and so we cannot continue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5084)
2018-03-21 10:27:29 +00:00
..
record Update copyright year 2018-03-20 13:08:46 +00:00
statem Don't wait for dry at the end of a handshake 2018-03-21 10:27:29 +00:00
bio_ssl.c
build.info
d1_lib.c
d1_msg.c
d1_srtp.c
methods.c
packet_locl.h
packet.c
pqueue.c
s3_cbc.c
s3_enc.c Update copyright year 2018-03-20 13:08:46 +00:00
s3_lib.c Place ticket keys into secure memory 2018-03-19 11:07:08 -04:00
s3_msg.c Update copyright year 2018-02-13 13:59:25 +00:00
ssl_asn1.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_cert_table.h Update copyright year 2018-03-20 13:08:46 +00:00
ssl_cert.c
ssl_ciph.c Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
ssl_conf.c Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
ssl_err.c Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
ssl_init.c
ssl_lib.c Do not cache sessions with zero sid_ctx_length when SSL_VERIFY_PEER 2018-03-20 19:30:48 -05:00
ssl_locl.h Place ticket keys into secure memory 2018-03-19 11:07:08 -04:00
ssl_mcnf.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_rsa.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_sess.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_stat.c
ssl_txt.c
ssl_utst.c
t1_enc.c Update copyright year 2018-03-20 13:08:46 +00:00
t1_lib.c Place ticket keys into secure memory 2018-03-19 11:07:08 -04:00
t1_trce.c Fix miscellaneous typos in docs and source 2018-03-17 18:24:03 +01:00
tls13_enc.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
tls_srp.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00