2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#3149] Fixed TLS error messages

This commit is contained in:
Francis Dupont
2023-12-09 22:17:43 +01:00
parent fff8d2ac77
commit 7ae33b34f6

View File

@@ -928,6 +928,7 @@ TEST(TLSTest, serverNotConfigured) {
exps.addError("sslv3 alert handshake failure (SSL routines, CONNECT_CR_SRVR_HELLO)");
exps.addError("sslv3 alert handshake failure (SSL routines, CONNECT_CR_CERT)");
exps.addError("sslv3 alert handshake failure (SSL routines, ssl3_read_bytes)");
exps.addError("ssl/tls alert handshake failure (SSL routines)");
exps.checkAsync("client", client_cb);
if (Expecteds::displayErrMsg()) {
if (timeout) {
@@ -1209,6 +1210,7 @@ TEST(TLSTest, unknownClient) {
exps.addError("wrong version number");
exps.addError("wrong version number (SSL routines)");
exps.addError("wrong version number (SSL routines, ssl3_get_record)");
exps.addError("packet length too long (SSL routines)");
// Recent LibreSSL error.
exps.addError("unknown protocol (SSL routines, ACCEPT_SR_CLNT_HELLO)");
exps.addError("tlsv1 alert protocol version (SSL routines, ACCEPT_SR_CLNT_HELLO)");
@@ -1625,6 +1627,7 @@ TEST(TLSTest, serverNotConfiguredCloseonError) {
exps.addError("sslv3 alert handshake failure (SSL routines)");
exps.addError("sslv3 alert handshake failure (SSL routines, CONNECT_CR_SRVR_HELLO)");
exps.addError("sslv3 alert handshake failure (SSL routines, ssl3_read_bytes)");
exps.addError("ssl/tls alert handshake failure (SSL routines)");
// Recent LibreSSL error.
exps.addError("sslv3 alert handshake failure (SSL routines, CONNECT_CR_CERT)");
exps.checkAsync("client", client_cb);