You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2017/12/14 07:43:15 UTC

[trafficserver] branch quic-latest updated: Update tests for KeyGenerator since secrets are updated

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 7b398cd  Update tests for KeyGenerator since secrets are updated
7b398cd is described below

commit 7b398cd194cf6be63d81d7c9eec473fe9dde4d29
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Dec 14 16:42:44 2017 +0900

    Update tests for KeyGenerator since secrets are updated
---
 iocore/net/quic/test/test_QUICKeyGenerator.cc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/iocore/net/quic/test/test_QUICKeyGenerator.cc b/iocore/net/quic/test/test_QUICKeyGenerator.cc
index 4a3396b..4930a1c 100644
--- a/iocore/net/quic/test/test_QUICKeyGenerator.cc
+++ b/iocore/net/quic/test/test_QUICKeyGenerator.cc
@@ -57,9 +57,9 @@ TEST_CASE("QUICKeyGenerator", "[quic]")
     QUICKeyGenerator keygen(QUICKeyGenerator::Context::CLIENT);
 
     QUICConnectionId cid          = 0x8394c8f03e515708;
-    uint8_t expected_client_key[] = {0x2e, 0xbd, 0x78, 0x00, 0xdb, 0xed, 0x20, 0x10,
-                                     0xe5, 0xa2, 0x1c, 0x4a, 0xd2, 0x4b, 0x4e, 0xc3};
-    uint8_t expected_client_iv[] = {0x55, 0x44, 0x0d, 0x5f, 0xf7, 0x50, 0x3d, 0xe4, 0x99, 0x7b, 0xfd, 0x6b};
+    uint8_t expected_client_key[] = {0x9e, 0xdc, 0x91, 0xd5, 0x51, 0x8c, 0x1e, 0x6b,
+                                     0x2f, 0x80, 0x2b, 0xd1, 0xc8, 0xad, 0x59, 0x23};
+    uint8_t expected_client_iv[] = {0x78, 0xc4, 0x90, 0xe2, 0xe4, 0x22, 0x62, 0x0b, 0x4e, 0xc1, 0xce, 0xc3};
 
     std::unique_ptr<KeyMaterial> actual_km = keygen.generate(cid);
 
@@ -74,9 +74,9 @@ TEST_CASE("QUICKeyGenerator", "[quic]")
     QUICKeyGenerator keygen(QUICKeyGenerator::Context::SERVER);
 
     QUICConnectionId cid          = 0x8394c8f03e515708;
-    uint8_t expected_server_key[] = {0xc8, 0xea, 0x1b, 0xc1, 0x71, 0xe5, 0x2b, 0xae,
-                                     0x71, 0xfb, 0x78, 0x39, 0x52, 0xc7, 0xb8, 0xfc};
-    uint8_t expected_server_iv[] = {0x57, 0x82, 0x3b, 0x85, 0x2c, 0x7e, 0xf9, 0xe3, 0x80, 0x2b, 0x69, 0x0b};
+    uint8_t expected_server_key[] = {0xa2, 0xaa, 0x67, 0xd4, 0x32, 0x13, 0xba, 0x8d,
+                                     0x55, 0xf5, 0x76, 0x84, 0xb7, 0x1c, 0x0f, 0xc0};
+    uint8_t expected_server_iv[] = {0xa2, 0x6a, 0xa2, 0x24, 0x5c, 0x4f, 0x76, 0x24, 0xa9, 0x5b, 0x0a, 0xbd};
 
     std::unique_ptr<KeyMaterial> actual_km = keygen.generate(cid);
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].