diff options
author | tb <> | 2025-06-04 10:25:30 +0000 |
---|---|---|
committer | tb <> | 2025-06-04 10:25:30 +0000 |
commit | 4af06736be7bcd30d213be74f1456a917b18a581 (patch) | |
tree | 8f470e546a5c409018388adebb280454e825ec7c /src/regress/lib/libtls/tls/tlstest.c | |
parent | 0afcce73c60015d8a6f4c42857ca2338ec20ca31 (diff) | |
download | openbsd-4af06736be7bcd30d213be74f1456a917b18a581.tar.gz openbsd-4af06736be7bcd30d213be74f1456a917b18a581.tar.bz2 openbsd-4af06736be7bcd30d213be74f1456a917b18a581.zip |
libtls: abort handshake on no ALPN protcol overlap
RFC 7301, section 3.2: In the event that the server supports no
protocols that the client advertises, then the server SHALL respond
with a fatal "no_application_protocol" alert.
This change makes tlsext_alpn_server_process() send the alert
rather than pretending no callback was present.
ok jsing
Diffstat (limited to 'src/regress/lib/libtls/tls/tlstest.c')
0 files changed, 0 insertions, 0 deletions