mirror of
https://github.com/wine-mirror/wine
synced 2024-07-01 07:14:31 +00:00
secur32: Allow overriding GnuTLS debug level.
This commit is contained in:
parent
93f11ad21e
commit
34a57da592
|
@ -1576,7 +1576,9 @@ static NTSTATUS process_attach( void *args )
|
|||
|
||||
if (TRACE_ON(secur32))
|
||||
{
|
||||
pgnutls_global_set_log_level(4);
|
||||
char *env = getenv("GNUTLS_DEBUG_LEVEL");
|
||||
int level = env ? atoi(env) : 4;
|
||||
pgnutls_global_set_log_level(level);
|
||||
pgnutls_global_set_log_function(gnutls_log);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user