Bruno Jesus : secur32: Always tell the user that libgnutls could not be loaded.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 5 15:01:28 CST 2015
Module: wine
Branch: master
Commit: 54b5660378892ded5bde507f540928be58b7f4b7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=54b5660378892ded5bde507f540928be58b7f4b7
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Wed Dec 31 01:02:25 2014 -0200
secur32: Always tell the user that libgnutls could not be loaded.
---
dlls/secur32/schannel_gnutls.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
index 638b3c5..1173574 100644
--- a/dlls/secur32/schannel_gnutls.c
+++ b/dlls/secur32/schannel_gnutls.c
@@ -39,6 +39,7 @@
#if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H)
WINE_DEFAULT_DEBUG_CHANNEL(secur32);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
static void *libgnutls_handle;
#define MAKE_FUNCPTR(f) static typeof(f) * p##f
@@ -480,7 +481,7 @@ BOOL schan_imp_init(void)
libgnutls_handle = wine_dlopen(SONAME_LIBGNUTLS, RTLD_NOW, NULL, 0);
if (!libgnutls_handle)
{
- WARN("Failed to load libgnutls.\n");
+ ERR_(winediag)("Failed to load libgnutls, secure connections will not be available.\n");
return FALSE;
}
More information about the wine-cvs
mailing list