This is an automated email from the ASF dual-hosted git repository. maskit pushed a commit to branch quic-latest in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push: new c64b476 Fix key pahses for PNE tests c64b476 is described below commit c64b47636d9aa4b42b38c56c4dd5fe75fb925d98 Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Mon Jun 18 14:12:10 2018 +0900 Fix key pahses for PNE tests --- iocore/net/quic/test/test_QUICHandshakeProtocol.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iocore/net/quic/test/test_QUICHandshakeProtocol.cc b/iocore/net/quic/test/test_QUICHandshakeProtocol.cc index 0e0d3f4..096b9c9 100644 --- a/iocore/net/quic/test/test_QUICHandshakeProtocol.cc +++ b/iocore/net/quic/test/test_QUICHandshakeProtocol.cc @@ -673,13 +673,13 @@ TEST_CASE("QUICHandshakeProtocol PNE", "[quic]") CHECK(server->update_key_materials()); // ## Client -> Server - client->encrypt_pn(protected_pn, protected_pn_len, expected, sizeof(expected), sample, QUICKeyPhase::CLEARTEXT); - server->decrypt_pn(unprotected_pn, unprotected_pn_len, protected_pn, protected_pn_len, sample, QUICKeyPhase::CLEARTEXT); + client->encrypt_pn(protected_pn, protected_pn_len, expected, sizeof(expected), sample, QUICKeyPhase::PHASE_0); + server->decrypt_pn(unprotected_pn, unprotected_pn_len, protected_pn, protected_pn_len, sample, QUICKeyPhase::PHASE_0); CHECK(unprotected_pn_len == sizeof(expected)); CHECK(memcmp(unprotected_pn, expected, sizeof(expected)) == 0); // ## Server -> Client - server->encrypt_pn(protected_pn, protected_pn_len, expected, sizeof(expected), sample, QUICKeyPhase::CLEARTEXT); - client->decrypt_pn(unprotected_pn, unprotected_pn_len, protected_pn, protected_pn_len, sample, QUICKeyPhase::CLEARTEXT); + server->encrypt_pn(protected_pn, protected_pn_len, expected, sizeof(expected), sample, QUICKeyPhase::PHASE_0); + client->decrypt_pn(unprotected_pn, unprotected_pn_len, protected_pn, protected_pn_len, sample, QUICKeyPhase::PHASE_0); CHECK(unprotected_pn_len == sizeof(expected)); CHECK(memcmp(unprotected_pn, expected, sizeof(expected)) == 0); } -- To stop receiving notification emails like this one, please contact mas...@apache.org.