Use tls_buffer for alert and handshake fragments in the legacy stack.
authorjsing <jsing@openbsd.org>
Thu, 10 Nov 2022 18:06:37 +0000 (18:06 +0000)
committerjsing <jsing@openbsd.org>
Thu, 10 Nov 2022 18:06:37 +0000 (18:06 +0000)
commitb1a5c5c8023d738f3c00c39134fe0e072d105567
treed0cdde55c043998cd204b5d9fc8d65cb02f95122
parentf0e0c53e6472147376048637c2c883c1d25c4d33
Use tls_buffer for alert and handshake fragments in the legacy stack.

This avoids a bunch of pointer munging and a handrolled memmove.

ok tb@
lib/libssl/s3_lib.c
lib/libssl/ssl_locl.h
lib/libssl/ssl_pkt.c
lib/libssl/tls_buffer.c
lib/libssl/tls_internal.h