summaryrefslogtreecommitdiffstats
path: root/src/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls.h')
-rw-r--r--src/tls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tls.h b/src/tls.h
index 03612c8..c5fda32 100644
--- a/src/tls.h
+++ b/src/tls.h
@@ -106,6 +106,9 @@ int cert_decompress(SSL *ssl, CRYPTO_BUFFER **out, size_t uncompressed_len,
const uint8_t *in, size_t in_len);
#endif // NGHTTP2_OPENSSL_IS_BORINGSSL && HAVE_LIBBROTLI
+// Setup keylog callback. It returns 0 if it succeeds, or -1.
+int setup_keylog_callback(SSL_CTX *ssl_ctx);
+
} // namespace tls
} // namespace nghttp2