summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authordaniel <>2026-08-10 22:02:41 +0000
committerdaniel <>2026-08-10 22:02:41 +0000
commit303993803a903836ebdee023fdaa9f772f2fcb05 (patch)
tree07f79a5b82b83f46e4874e53e3aecd0f82832606 /src/lib/libssl/ssl_lib.c
parent3b6943ea7f6cc543fd185d87c30f0b8a50a15a55 (diff)
downloadopenbsd-303993803a903836ebdee023fdaa9f772f2fcb05.tar.gz
openbsd-303993803a903836ebdee023fdaa9f772f2fcb05.tar.bz2
openbsd-303993803a903836ebdee023fdaa9f772f2fcb05.zip
hdestroy(3): stop freeing key values
POSIX leaves ownership of ENTRY.key with the caller. Our current behaviour came from NetBSD when this code was imported in 2004. NetBSD and FreeBSD both stopped freeing key values in July 2014. NetBSD in commit fe0a1a6 and FreeBSD in commit e19f362. Remove the call to free(3) to align ourselves with NetBSD, FreeBSD and POSIX. Also adjust rsync for the change in semantics. Flagged by Sortix os-test. ok millert@, deraadt@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions