summaryrefslogtreecommitdiffstats
path: root/src/nghttp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nghttp.cc')
-rw-r--r--src/nghttp.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nghttp.cc b/src/nghttp.cc
index f670320..6684374 100644
--- a/src/nghttp.cc
+++ b/src/nghttp.cc
@@ -2322,6 +2322,14 @@ int communicate(
goto fin;
}
#endif // NGHTTP2_OPENSSL_IS_BORINGSSL && HAVE_LIBBROTLI
+
+ if (tls::setup_keylog_callback(ssl_ctx) != 0) {
+ std::cerr << "[ERROR] Failed to setup keylog" << std::endl;
+
+ result = -1;
+
+ goto fin;
+ }
}
{
HttpClient client{callbacks, loop, ssl_ctx};