Make error 235 resolve to "no application protocol"
authortb <tb@openbsd.org>
Mon, 9 Sep 2024 07:40:03 +0000 (07:40 +0000)
committertb <tb@openbsd.org>
Mon, 9 Sep 2024 07:40:03 +0000 (07:40 +0000)
commit77f216997f9d6f2afa454b74b4efe187ed7306e2
tree34910c7fa40579c4b721d6e95c675c9099aab7c0
parente3b7649a98a8a22b29f48fa64aa33ebed55c3116
Make error 235 resolve to "no application protocol"

We accidentally have two errors 235 since we didn't notice that OpenSSL
removed the unused SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER and later that
becamse SSL_R_NO_APPLICATION_PROTOCOL. Getting an "unsupported cipher"
error when fiddling with ALPN is confusing, so fix that.

ok jsing
lib/libssl/ssl_err.c