diff options
Diffstat (limited to 'src/daemon/https/tls/gnutls_global.c')
-rw-r--r-- | src/daemon/https/tls/gnutls_global.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/daemon/https/tls/gnutls_global.c b/src/daemon/https/tls/gnutls_global.c index 635b01eb..6f7e46bf 100644 --- a/src/daemon/https/tls/gnutls_global.c +++ b/src/daemon/https/tls/gnutls_global.c | |||
@@ -145,15 +145,6 @@ MHD_gtls_global_set_mem_functions (MHD_gnutls_alloc_function alloc_func, | |||
145 | 145 | ||
146 | } | 146 | } |
147 | 147 | ||
148 | #ifdef DEBUG | ||
149 | static void | ||
150 | MHD__gnutls_gcry_log_handler (void *dummy, int level, | ||
151 | const char *fmt, va_list list) | ||
152 | { | ||
153 | MHD_gtls_log (level, fmt, list); | ||
154 | } | ||
155 | #endif | ||
156 | |||
157 | static int MHD__gnutls_init_level = 0; | 148 | static int MHD__gnutls_init_level = 0; |
158 | 149 | ||
159 | /** | 150 | /** |
@@ -254,12 +245,6 @@ MHD__gnutls_global_init (void) | |||
254 | 245 | ||
255 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, NULL, 0); | 246 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, NULL, 0); |
256 | 247 | ||
257 | #ifdef DEBUG | ||
258 | /* applications may want to override that, so we only use | ||
259 | * it in debugging mode. | ||
260 | */ | ||
261 | gcry_set_log_handler (MHD__gnutls_gcry_log_handler, NULL); | ||
262 | #endif | ||
263 | } | 248 | } |
264 | 249 | ||
265 | if (MHD_gc_init () != GC_OK) | 250 | if (MHD_gc_init () != GC_OK) |
@@ -269,10 +254,6 @@ MHD__gnutls_global_init (void) | |||
269 | return GNUTLS_E_INCOMPATIBLE_CRYPTO_LIBRARY; | 254 | return GNUTLS_E_INCOMPATIBLE_CRYPTO_LIBRARY; |
270 | } | 255 | } |
271 | 256 | ||
272 | #ifdef DEBUG | ||
273 | MHD_gtls_global_set_log_function (MHD_tls_log_func); | ||
274 | #endif | ||
275 | |||
276 | /* initialize parser | 257 | /* initialize parser |
277 | * This should not deal with files in the final | 258 | * This should not deal with files in the final |
278 | * version. | 259 | * version. |