Add message callbacks for alerts in the TLSv1.3 stack.
authorjsing <jsing@openbsd.org>
Sat, 27 Jan 2024 14:23:51 +0000 (14:23 +0000)
committerjsing <jsing@openbsd.org>
Sat, 27 Jan 2024 14:23:51 +0000 (14:23 +0000)
commit9c83d7109b1bc23a577588a4a59bd6ddbe44db56
tree22a50e82b6da971154b87af472dd56a245bf81bb
parent0785a13cd1b9b80d5b6c5412ba063cf3b0758f8c
Add message callbacks for alerts in the TLSv1.3 stack.

This will make it easier to regress test shutdown behaviour in the TLSv1.3
stack. Additionally, `openssl -msg` now shows alerts for TLSv1.3
connections.

ok tb@
lib/libssl/tls13_internal.h
lib/libssl/tls13_lib.c
lib/libssl/tls13_record_layer.c