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

commit 3ffa6b252cb5d60a2a738648d13ae61676e16673
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Tue Jun 19 17:23:16 2018 +0900

    Print keys for packet number encryption
---
 iocore/net/quic/QUICTLS.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/iocore/net/quic/QUICTLS.cc b/iocore/net/quic/QUICTLS.cc
index 09250c3..8784c94 100644
--- a/iocore/net/quic/QUICTLS.cc
+++ b/iocore/net/quic/QUICTLS.cc
@@ -194,6 +194,8 @@ QUICTLS::initialize_key_materials(QUICConnectionId cid)
     Debug("vv_quic_crypto", "client key 0x%s", print_buf);
     to_hex(print_buf, km->iv, km->iv_len);
     Debug("vv_quic_crypto", "client iv 0x%s", print_buf);
+    to_hex(print_buf, km->pn, km->pn_len);
+    Debug("vv_quic_crypto", "client pn 0x%s", print_buf);
   }
   this->_client_pp->set_key(std::move(km), QUICKeyPhase::CLEARTEXT);
 
@@ -203,6 +205,8 @@ QUICTLS::initialize_key_materials(QUICConnectionId cid)
     Debug("vv_quic_crypto", "server key 0x%s", print_buf);
     to_hex(print_buf, km->iv, km->iv_len);
     Debug("vv_quic_crypto", "server iv 0x%s", print_buf);
+    to_hex(print_buf, km->pn, km->pn_len);
+    Debug("vv_quic_crypto", "server pn 0x%s", print_buf);
   }
   this->_server_pp->set_key(std::move(km), QUICKeyPhase::CLEARTEXT);
 

Reply via email to