summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-09 12:23:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-09 12:23:18 +0200
commit4570c22c579cdfb293d890f034c7c4926967790e (patch)
tree3b55a928487e0340db8d1e0676df34433a6297d2
parent6ee9e4bd47a919bd8567958bfcca183569747a96 (diff)
downloadcurl-4570c22c579cdfb293d890f034c7c4926967790e.tar.gz
quiche: add SSLKEYLOGFILE support
-rw-r--r--lib/vquic/quiche.c3
1 files changed, 3 insertions, 0 deletions
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) {