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 2018/06/21 02:09:10 UTC
[trafficserver] 01/04: Print keys for PNE when keys 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
commit 3c73a156a0df9ebf68c43eba5d181500da817eb9
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Jun 21 10:57:08 2018 +0900
Print keys for PNE when keys are updated
---
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 8784c94..dad6542 100644
--- a/iocore/net/quic/QUICTLS.cc
+++ b/iocore/net/quic/QUICTLS.cc
@@ -247,6 +247,8 @@ QUICTLS::update_key_materials()
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), next_key_phase);
km = this->_keygen_for_server.generate(this->_ssl);
@@ -255,6 +257,8 @@ QUICTLS::update_key_materials()
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), next_key_phase);