summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2023-12-09 22:17:43 +0100
committerFrancis Dupont <fdupont@isc.org>2023-12-13 14:35:58 +0100
commit7ae33b34f6e271c29682dec2cf68f2d69cc6dc99 (patch)
tree172f140234646952f22ac615932abab2961c4a30 /src/lib
parent[#3149] Removed link filter on relay/remote (diff)
downloadkea-7ae33b34f6e271c29682dec2cf68f2d69cc6dc99.tar.xz
kea-7ae33b34f6e271c29682dec2cf68f2d69cc6dc99.zip
[#3149] Fixed TLS error messages
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/asiolink/tests/tls_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/asiolink/tests/tls_unittest.cc b/src/lib/asiolink/tests/tls_unittest.cc
index 1b792091bc..68709fbff8 100644
--- a/src/lib/asiolink/tests/tls_unittest.cc
+++ b/src/lib/asiolink/tests/tls_unittest.cc
@@ -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);