mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:08:30 +00:00
crypt32: Allow overriding GnuTLS debug level.
This commit is contained in:
parent
24a956e6cb
commit
99511bde63
|
@ -130,7 +130,9 @@ static NTSTATUS process_attach( void *args )
|
|||
|
||||
if (TRACE_ON( crypt ))
|
||||
{
|
||||
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 a new issue