From 4570c22c579cdfb293d890f034c7c4926967790e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Aug 2019 12:23:18 +0200 Subject: quiche: add SSLKEYLOGFILE support --- lib/vquic/quiche.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index c4e7b03fe..369d819f6 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -158,6 +158,9 @@ CURLcode Curl_quic_connect(struct connectdata *conn, curl_socket_t sockfd, if(result) return result; + if(getenv("SSLKEYLOGFILE")) + quiche_config_log_keys(qs->cfg); + qs->conn = quiche_connect(conn->host.name, (const uint8_t *) qs->scid, sizeof(qs->scid), qs->cfg); if(!qs->conn) { -- cgit v1.2.3