We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4034b85 commit 978207fCopy full SHA for 978207f
ssl/ssl_version_test.cc
@@ -2335,7 +2335,9 @@ TEST_P(SSLVersionTest, PeerTmpKey) {
2335
EVP_PKEY *key = nullptr;
2336
2337
if (getVersionParam().version == TLS1_3_VERSION) {
2338
- // TLS 1.3 default should be using X5519MLKEM768 as the key exchange.
+ // TLS 1.3 default should be using X25519MLKEM768 as the key exchange.
2339
+ // We expect SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE because there is no EVP_PKEY type
2340
+ // for hybrid keys, only individual X25519 or MLKEM768 keys.
2341
ERR_clear_error();
2342
EXPECT_FALSE(SSL_get_peer_tmp_key(ssl, &key));
2343
ErrorEquals(ERR_get_error(), ERR_LIB_SSL, SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE);
0 commit comments