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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user