openssl/crypto/bio
Matt Caswell 41b3c9ce2a Fix problem with SCTP close_notify alerts
In SCTP the code was only allowing a send of a close_notify alert if the
socket is dry. If the socket isn't dry then it was attempting to save away
the close_notify alert to resend later when it is dry and then it returned
success. However because the application then thinks that the close_notify
alert has been successfully sent it never re-enters the DTLS code to
actually resend the alert. A much simpler solution is to just fail with a
retryable error in the event that the socket isn't dry. That way the
application knows to retry sending the close_notify alert.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3286)
2017-04-25 11:13:39 +01:00
..
b_addr.c Add a BIO_lookup_ex() function 2017-04-25 11:13:39 +01:00
b_dump.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
b_print.c bio/b_print.c: switch to int64_t as "greatest-width integer type". 2017-04-01 15:40:43 +02:00
b_sock2.c spelling fixes, just comments and readme. 2016-08-05 19:07:30 -04:00
b_sock.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
bf_buff.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bf_lbuf.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bf_nbio.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bf_null.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bio_cb.c Fix some style issues... 2016-08-02 09:59:23 +02:00
bio_err.c Add better error logging if SCTP AUTH chunks are not enabled 2017-04-25 11:13:39 +01:00
bio_lcl.h Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
bio_lib.c Fix a typo in bio_read_intern 2016-12-02 09:15:19 +00:00
bio_meth.c Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
bss_acpt.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
bss_bio.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bss_conn.c Remove some #if 0 code in ssl, crypto/bio 2017-02-28 09:32:41 -05:00
bss_dgram.c Fix problem with SCTP close_notify alerts 2017-04-25 11:13:39 +01:00
bss_fd.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
bss_file.c Fix stdio build following BIO size_t work 2016-10-28 09:48:54 +01:00
bss_log.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bss_mem.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bss_null.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
bss_sock.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
build.info Adapt bf_lbuf for opaque BIO 2016-03-30 04:35:14 +02:00