* src/gnutls.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING

This commit is contained in:
Tim Rühsen 2020-02-27 19:57:22 +01:00
parent b0e94e582b
commit 472823283c

View File

@ -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
{