summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-02-09 23:12:56 +0330
committerAndreas Kling <kling@serenityos.org>2022-02-09 21:23:25 +0100
commitcb7becb0671ae2ca435384b0133b484e495a2af2 (patch)
tree8ecc150524a298e46c5dda1cde70e45cddb53477 /AK
parenta796207b9fb139c85d6350062689d97dd5e98902 (diff)
downloadserenity-cb7becb0671ae2ca435384b0133b484e495a2af2.zip
LibTLS+RequestServer: Add an option to dump TLS keys to a log file
This file allows us to decrypt TLS messages in wireshark, which can help immensely in debugging network stuff :^)
Diffstat (limited to 'AK')
-rw-r--r--AK/Debug.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in
index c1ccbef417..bc57678f95 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -434,6 +434,10 @@
#cmakedefine01 TLS_DEBUG
#endif
+#ifndef TLS_SSL_KEYLOG_DEBUG
+#cmakedefine01 TLS_SSL_KEYLOG_DEBUG
+#endif
+
#ifndef TOKENIZER_TRACE_DEBUG
#cmakedefine01 TOKENIZER_TRACE_DEBUG
#endif