summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-08-30 16:50:24 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-08-30 16:50:24 +0000
commit0df010c65a5510475a28b7129426178bf8117587 (patch)
tree01b6411d70146dce32d3b026e1fbe197c2344b8a /etc
parent9ee58a8a52708cfeb4391866d5c6c764a685b8f7 (diff)
Ignore warning alert returns from servername callback in TLSv1.3
If a servername callback returns SSL_TLSEXT_ERR_ALERT_WARNING, this results in a fatal error in TLSv1.3 since alert levels are implicit in the alert type and neither close_notify nor user_canceled make sense in this context. OpenSSL chose to ignore this, so we need to follow suit. Found via a broken servername callback in p5-IO-Socket-SSL which returns a Boolean instead of SSL_TLSEXT_ERR_*. This happened to have worked before TLSv1.3 since warning alerts are often ignored. This "fixes" sni.t and sni-verify.t in p5-IO-Socket-SSL. ok beck jsing
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions