mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
* src/gnutls.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING
This commit is contained in:
parent
b0e94e582b
commit
472823283c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user