Aligns key log labels
Closes
@@ -701,8 +701,8 @@ static int picoquic_update_traffic_key_callback(ptls_update_traffic_key_t * self
if (cnx->quic->F_tls_secrets) {
static const char *log_labels[2][4] = {
- {NULL, "QUIC_CLIENT_EARLY_TRAFFIC_SECRET", "QUIC_CLIENT_HANDSHAKE_TRAFFIC_SECRET", "QUIC_CLIENT_TRAFFIC_SECRET_0"},
- {NULL, NULL, "QUIC_SERVER_HANDSHAKE_TRAFFIC_SECRET", "QUIC_SERVER_TRAFFIC_SECRET_0"}};
+ {NULL, "CLIENT_EARLY_TRAFFIC_SECRET", "CLIENT_HANDSHAKE_TRAFFIC_SECRET", "CLIENT_TRAFFIC_SECRET_0"},
+ {NULL, NULL, "SERVER_HANDSHAKE_TRAFFIC_SECRET", "SERVER_TRAFFIC_SECRET_0"}};
fprintf(cnx->quic->F_tls_secrets, "%s ", log_labels[ptls_is_server(tls) == is_enc][epoch]);
ptls_iovec_t crandom = ptls_get_client_random(tls);
