Skip to content

Commit 3d4582b

Browse files
authored
Merge pull request #9572 from michalpasztamobica/greentea_tls_ipv6_compliant_website
Use an ip4- and ip6-compliant site to test TLS certificate error reporting
2 parents 363f35f + c3f3dcb commit 3d4582b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/netsocket/tls/tlssocket_handshake_invalid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void TLSSOCKET_HANDSHAKE_INVALID()
3232
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.open(NetworkInterface::get_default_instance()));
3333
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.set_root_ca_cert(tls_global::cert));
3434
TEST_ASSERT_EQUAL(NSAPI_ERROR_NO_CONNECTION,
35-
sock.connect("os.mbed.com", MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT_TLS));
35+
sock.connect("google.com", MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT_TLS));
3636
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
3737
}
3838

0 commit comments

Comments
 (0)