]> 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>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
commita2fe6435cac29b7d74595667bddfa11b4e0cba72
tree1e9f30726580de6e431645019173439ad777b164
parent38cb9ca1ad2869900acde4427e04cbe00c2e2c01
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