Fully disable keylog code if there is no TLS or QUIC subsystem using it.
Closes #12350
***************************************************************************/
#include "curl_setup.h"
+#if defined(USE_OPENSSL) || \
+ defined(USE_WOLFSSL) || \
+ (defined(USE_NGTCP2) && defined(USE_NGHTTP3)) || \
+ defined(USE_QUICHE)
+
#include "keylog.h"
#include <curl/curl.h>
fputs(line, keylog_file_fp);
return true;
}
+
+#endif /* TLS or QUIC backend */