From 716ab25446cd45ec8117264e51b5018f9a813d4e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 23 Jun 2008 09:04:00 +0200 Subject: disabled in-depth GnuTLS debugging aid This is a debug aid, only. Note that it may reveal sensitive information, so it should never be active in production code. Currently, this is a compile-time switch and requires code changes to (de)activate. --- runtime/nsd_gtls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime') diff --git a/runtime/nsd_gtls.c b/runtime/nsd_gtls.c index 8c11e539..fad84689 100644 --- a/runtime/nsd_gtls.c +++ b/runtime/nsd_gtls.c @@ -532,10 +532,12 @@ gtlsGlblInit(void) } # ifdef DEBUG +#if 0 /* do this in special cases only. WARNING: if active, it may reveal sensitive information! */ /* intialize log function - set a level only for hard-to-find bugs */ gnutls_global_set_log_function(logFunction); gnutls_global_set_log_level(10); /* 0 (no) to 9 (most), 10 everything */ # endif +# endif finalize_it: RETiRet; -- cgit