]> git.ipfire.org Git - thirdparty/openssl.git/commit
Enhance get_peer_token to not require memcpy
authorNeil Horman <nhorman@openssl.org>
Thu, 16 Jan 2025 18:12:15 +0000 (13:12 -0500)
committerNeil Horman <nhorman@openssl.org>
Tue, 4 Feb 2025 14:12:04 +0000 (09:12 -0500)
commitffd5b86360ed180633c6b7b89bb5cb6885d8df68
tree11d144cf64bf765d77a4c6f132a06c042069c044
parent8c52cb96571e372735b5f1c606e5df223804948c
Enhance get_peer_token to not require memcpy

Instead of copying the token thats store, return a pointer to it
along with a pointer to the token struct to free should we need to

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26517)
include/internal/quic_ssl.h
ssl/quic/quic_impl.c