openssl/ssl
Matt Caswell 5e8b24dbfb Fix write failure handling in DTLS1.2
The DTLS code is supposed to drop packets if we try to write them out but
the underlying BIO write buffers are full. ssl3_write_pending() contains
an incorrect test for DTLS that controls this. The test only checks for
DTLS1 so DTLS1.2 does not correctly clear the internal OpenSSL buffer which
can later cause an assert to be hit. This commit changes the test to cover
all DTLS versions.

RT#3967

Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-07-30 10:17:53 +01:00
..
record Fix write failure handling in DTLS1.2 2015-07-30 10:17:53 +01:00
bio_ssl.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
d1_both.c DTLS handshake message fragments musn't span packets 2015-06-10 12:06:29 +01:00
d1_clnt.c Remove support for SSL3_FLAGS_DELAY_CLIENT_FINISHED 2015-07-27 15:00:05 +01:00
d1_lib.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
d1_meth.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
d1_msg.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
d1_srtp.c Use p==NULL not !p (in if statements, mainly) 2015-05-11 10:06:38 -04:00
d1_srvr.c Tidy up ssl3_digest_cached_records logic. 2015-06-23 22:24:09 +01:00
install-ssl.com Updates following review comments 2015-05-16 09:20:52 +01:00
Makefile Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
s3_both.c Updates following review comments 2015-05-16 09:20:52 +01:00
s3_cbc.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
s3_clnt.c Remove support for SSL3_FLAGS_DELAY_CLIENT_FINISHED 2015-07-27 15:00:05 +01:00
s3_enc.c Avoid duplication. 2015-06-23 22:24:09 +01:00
s3_lib.c Remove support for SSL3_FLAGS_DELAY_CLIENT_FINISHED 2015-07-27 15:00:05 +01:00
s3_msg.c Introduce the functions RECORD_LAYER_release, RECORD_LAYER_read_pending, and 2015-03-26 15:01:59 +00:00
s3_srvr.c Use single master secret generation function. 2015-06-29 11:47:59 +01:00
ssl-lib.com Move SSLv3_*method() functions 2015-05-16 09:20:58 +01:00
ssl_algs.c Fix missing return value checks 2015-03-23 15:23:11 +00:00
ssl_asn1.c Remove support for OPENSSL_NO_TLSEXT 2015-05-22 23:10:51 +01:00
ssl_cert.c Remove SESS_CERT entirely. 2015-06-22 13:52:24 +01:00
ssl_ciph.c Tidy disabled algorithm handling. 2015-06-10 21:56:23 +01:00
ssl_conf.c free names before context 2015-07-21 14:27:25 +01:00
ssl_err.c Fix race condition in NewSessionTicket 2015-06-02 09:30:12 +01:00
ssl_err2.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ssl_lib.c Use uint32_t consistently for flags. 2015-07-18 13:57:05 +01:00
ssl_locl.h Remove support for SSL3_FLAGS_DELAY_CLIENT_FINISHED 2015-07-27 15:00:05 +01:00
ssl_rsa.c Remove support for OPENSSL_NO_TLSEXT 2015-05-22 23:10:51 +01:00
ssl_sess.c Dup peer_chain properly in SSL_SESSION 2015-06-30 14:00:43 +01:00
ssl_stat.c Version negotiation rewrite cleanup 2015-05-16 09:20:38 +01:00
ssl_txt.c Remove support for OPENSSL_NO_TLSEXT 2015-05-22 23:10:51 +01:00
ssl_utst.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
t1_clnt.c Move SSLv3_*method() functions 2015-05-16 09:20:58 +01:00
t1_enc.c Tidy up ssl3_digest_cached_records logic. 2015-06-23 22:24:09 +01:00
t1_ext.c Remove support for OPENSSL_NO_TLSEXT 2015-05-22 23:10:51 +01:00
t1_lib.c Allow any order for signature algorithm string. 2015-07-28 16:56:04 +01:00
t1_meth.c Move SSLv3_*method() functions 2015-05-16 09:20:58 +01:00
t1_reneg.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
t1_srvr.c Move SSLv3_*method() functions 2015-05-16 09:20:58 +01:00
t1_trce.c PSK trace keyex fixes. 2015-06-23 22:25:20 +01:00
tls_srp.c Use single master secret generation function. 2015-06-29 11:47:59 +01:00