diff options
author | tb <> | 2025-06-04 10:25:30 +0000 |
---|---|---|
committer | tb <> | 2025-06-04 10:25:30 +0000 |
commit | 2237cbfc7bb81e07c1a424f450cd6e0946803679 (patch) | |
tree | 8f470e546a5c409018388adebb280454e825ec7c /src/regress/lib/libtls/tls/tlstest.c | |
parent | 69a9721f18801a1e219f9278f5727931a972360e (diff) | |
download | openbsd-2237cbfc7bb81e07c1a424f450cd6e0946803679.tar.gz openbsd-2237cbfc7bb81e07c1a424f450cd6e0946803679.tar.bz2 openbsd-2237cbfc7bb81e07c1a424f450cd6e0946803679.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