"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "nss/gtests/ssl_gtest/ssl_extension_unittest.cc" between
nss-3.61.tar.gz and nss-3.62.tar.gz

About: NSS is a set of libraries, APIs, utilities, and documentation designed to support cross-platform development of security-enabled client and server applications. It provides a complete implementation of the crypto libraries used by Mozilla and other companies.

ssl_extension_unittest.cc  (nss-3.61):ssl_extension_unittest.cc  (nss-3.62)
skipping to change at line 1101 skipping to change at line 1101
SSL_ERROR_BAD_2ND_CLIENT_HELLO); SSL_ERROR_BAD_2ND_CLIENT_HELLO);
} }
TEST_P(TlsExtensionTest13, HrrThenRemoveSupportedGroups) { TEST_P(TlsExtensionTest13, HrrThenRemoveSupportedGroups) {
ExpectAlert(server_, kTlsAlertMissingExtension); ExpectAlert(server_, kTlsAlertMissingExtension);
HrrThenRemoveExtensionsTest(ssl_supported_groups_xtn, HrrThenRemoveExtensionsTest(ssl_supported_groups_xtn,
SSL_ERROR_MISSING_EXTENSION_ALERT, SSL_ERROR_MISSING_EXTENSION_ALERT,
SSL_ERROR_MISSING_SUPPORTED_GROUPS_EXTENSION); SSL_ERROR_MISSING_SUPPORTED_GROUPS_EXTENSION);
} }
#ifdef NSS_ENABLE_DRAFT_HPKE
TEST_P(TlsExtensionTest13, HrrThenRemoveEch) {
if (variant_ == ssl_variant_datagram) {
// ECH not supported in DTLS.
GTEST_SKIP();
}
EnsureTlsSetup();
SetupEch(client_, server_);
ExpectAlert(server_, kTlsAlertIllegalParameter);
HrrThenRemoveExtensionsTest(ssl_tls13_encrypted_client_hello_xtn,
SSL_ERROR_ILLEGAL_PARAMETER_ALERT,
SSL_ERROR_BAD_2ND_CLIENT_HELLO);
}
#endif
TEST_P(TlsExtensionTest13, EmptyVersionList) { TEST_P(TlsExtensionTest13, EmptyVersionList) {
static const uint8_t ext[] = {0x00, 0x00}; static const uint8_t ext[] = {0x00, 0x00};
ConnectWithBogusVersionList(ext, sizeof(ext)); ConnectWithBogusVersionList(ext, sizeof(ext));
} }
TEST_P(TlsExtensionTest13, OddVersionList) { TEST_P(TlsExtensionTest13, OddVersionList) {
static const uint8_t ext[] = {0x00, 0x01, 0x00}; static const uint8_t ext[] = {0x00, 0x01, 0x00};
ConnectWithBogusVersionList(ext, sizeof(ext)); ConnectWithBogusVersionList(ext, sizeof(ext));
} }
 End of changes. 1 change blocks. 
16 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)