From: Nikos Mavrogiannopoulos Date: Sun, 1 Sep 2013 00:23:01 +0000 (+0300) Subject: explicitly initialize the log functions X-Git-Tag: gnutls_3_2_5~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff2e4ad03577765d2c711a926829491854f5100;p=thirdparty%2Fgnutls.git explicitly initialize the log functions --- diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c index 9da4d70087..af291e17d7 100644 --- a/lib/gnutls_global.c +++ b/lib/gnutls_global.c @@ -47,8 +47,8 @@ void *_gnutls_file_mutex; ASN1_TYPE _gnutls_pkix1_asn; ASN1_TYPE _gnutls_gnutls_asn; -gnutls_log_func _gnutls_log_func; -gnutls_audit_log_func _gnutls_audit_log_func; +gnutls_log_func _gnutls_log_func = NULL; +gnutls_audit_log_func _gnutls_audit_log_func = NULL; int _gnutls_log_level = 0; /* default log level */ /**