From 472823283cdd2e974d1c591b82d011cfb51c74cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 27 Feb 2020 19:57:22 +0100 Subject: [PATCH] * src/gnutls.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING --- src/gnutls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gnutls.c b/src/gnutls.c index e95ecea0..f0c81c57 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -226,6 +226,7 @@ cert to be of the same type.\n")); return true; } +#if defined DEBUG_MALLOC || defined TESTING void ssl_cleanup (void) { @@ -234,6 +235,7 @@ ssl_cleanup (void) gnutls_global_deinit(); } +#endif struct wgnutls_transport_context {