librelp 1.12.0 [download]
This new release of librelp has a number of changes. Notably is the ability for the API to communicate the source port back to caller, a fix for tcp ot avoide deprecated ENGINE_cleanup and build fixes for relp against gcc-14 and code adaption for gcc-15.
For more details, please take a look at the changelog below.
———————————————————————
Version 1.12.0 – 2025-09-08
- API: add ability to communicate source port back to caller
This is handled via a new “on connection” callback - tcp: tcp: avoid deprecated ENGINE_cleanup
ENGINE_cleanup is deprecated as of OpenSSL 1.1.0, and may not be available
with 3.0 and OPENSSL_NO_ENGINE.
Thanks to Yaakov Selkowitz for the patch. - relp: fix build against `gcc-14` (`-Werror=calloc-transposed-args`)
`gcc-14` added a new `-Wcalloc-transposed-args` warning. It
detected minor infelicity in `calloc()` API usage
Fixes
../../git/src/relp.c: In function ‘addToEpollSet’:
../../git/src/relp.c:101:39: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
Thanks to Khem Raj for the patch. - tests: Include missing sys/time.h
This is found when building for musl C library systems where sys/time.h
is not included indirectly and select() and timeval structs are used
Thanks to Khem Raj for the patch. - bugfix: code adapted to C23 (as used in gcc 15 by default)
Thanks to Khem Raj for the patch.
sha256sum: e2e53a9812d06f95d0a311bbfafba78704835de6d7f0ea0fd9c0d94e8eae496a
librelp 1.12.0 released