diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-09-09 07:40:04 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-09-09 07:40:04 +0000 |
commit | 1c3ae2a9e41f7047be9951aee58262ba9cd91d7e (patch) | |
tree | e7c6cade65209f41c89a9b297aae1c3af8bdb90f /lib/libssl | |
parent | a238f35350cfd474100b25edc5979bda9aa10453 (diff) |
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
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/ssl_err.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/ssl_err.c b/lib/libssl/ssl_err.c index 6498eefd713..e0fb1a2bf43 100644 --- a/lib/libssl/ssl_err.c +++ b/lib/libssl/ssl_err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_err.c,v 1.51 2024/07/14 15:56:08 tb Exp $ */ +/* $OpenBSD: ssl_err.c,v 1.52 2024/09/09 07:40:03 tb Exp $ */ /* ==================================================================== * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. * @@ -417,7 +417,6 @@ static const ERR_STRING_DATA SSL_str_reasons[] = { {ERR_REASON(SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST), "tls invalid ecpointformat list"}, {ERR_REASON(SSL_R_TLS_PEER_DID_NOT_RESPOND_WITH_CERTIFICATE_LIST), "tls peer did not respond with certificate list"}, {ERR_REASON(SSL_R_TLS_RSA_ENCRYPTED_VALUE_LENGTH_IS_WRONG), "tls rsa encrypted value length is wrong"}, - {ERR_REASON(SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER), "tried to use unsupported cipher"}, {ERR_REASON(SSL_R_UNABLE_TO_DECODE_DH_CERTS), "unable to decode dh certs"}, {ERR_REASON(SSL_R_UNABLE_TO_DECODE_ECDH_CERTS), "unable to decode ecdh certs"}, {ERR_REASON(SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY), "unable to extract public key"}, |