kc3-lang/libevent/bufferevent_mbedtls.c

Branch :


Log

Author Commit Date CI Message
2f27523e 2024-02-18 18:22:21 bufferevent_ssl: do not return NULL from upcast /src/le/libevent/bufferevent_ssl.c:863: error: Null Dereference pointer `bev_ssl` last assigned on line 855 could be null and is dereferenced at line 863, column 6. 861. r2 = start_writing(bev_ssl); 862. 863. if (bev_ssl->underlying) { ^ 864. if (events & EV_READ) 865. BEV_RESET_GENERIC_READ_TIMEOUT(bev);
e5941b2c 2023-05-16 21:16:33 Drop unused le_ssl_ops::err_is_ok It is not used anymore since errors are ignored if some progress had been done.
7652cf40 2023-05-14 16:53:13 ssl: do not triger EOF if some data had been successfully read Previously in case when evbuffer_reserve_space() returns > 1, but it was able to read only 1 IO vector, it will try to read the next one, got 0 (EOF for mbedTLS or SSL_ERROR_ZERO_RETURN for OpenSSL) and will trigger EOF, while instead, it should trigger EV_READ w/o EOF and only after EOF.
6375dcb4 2023-05-14 16:45:14 ssl: rename err_is_ok to handshake_is_ok (internal API)
88317a4e 2022-10-04 17:49:22 Add helpers and all regress tests are passed
384c52e6 2022-06-23 23:06:14 Initial Mbed-TLS 3 support to get the GitHub Actions working again mingw has upgraded to Mbed-TLS 3.1.0, so all the mingw tests that need Mbed-TLS currently don't work. v2: add missing mbedtls/version.h into test/regress_mbedtls.c v3: suppress #warning "Including compat-2.x.h is deprecated" for mbedtls/compat-2.x.h
f02fa339 2021-04-30 10:15:45 Support disabled renegotiation in mbedTLS Patch from: @Kurruk007 Fixes: #1161
7e0fc878 2020-10-31 21:45:22 Introduce new API for flags of the SSL bufferevent Introduce more generic API (like for evbuffer): - bufferevent_ssl_set_flags() - bufferevent_ssl_clear_flags() - bufferevent_ssl_get_flags() And deprecate existing: - bufferevent_openssl_get_allow_dirty_shutdown() - bufferevent_openssl_set_allow_dirty_shutdown() - bufferevent_mbedtls_get_allow_dirty_shutdown() - bufferevent_mbedtls_set_allow_dirty_shutdown()
85c67599 2020-07-24 17:19:14 fix: compat mbedtls < 2.4
948ad304 2020-07-23 23:38:53 Fix bufferevent_get_{openssl,mbedtls}_error() The bufferevent_get_openssl_error() returns unsigned long, so returning -1 on error in unclear. Let's use 0. Fixes: #1028
5671575a 2020-07-22 23:08:50 Join le_ssl_ops.post_init with le_ssl_ops.init
d095b834 2020-07-07 17:26:46 Merge ssl implementations (openssl and mbedtls) This patch splits common part out to avoid copy-paste from the - bufferevent_openssl.c - bufferevent_mbedtls.c It uses VFS/bufferevent-like approach, i.e. structure of callbacks.
028385f6 2020-05-28 17:14:46 fix build system and add test and cleanup code
b28effa9 2020-01-13 23:04:29 mbedtls based SSL implementation prototype is libevent-2.1.11-stable libevent_openssl.c