secur32: Fix compilation with GNU TLS 1.0.16.

Francois Gouget fgouget at free.fr
Wed Sep 24 05:24:01 CDT 2008


---

On my system I have libgnutls11-dev 1.0.16-14+b1 which has 
gnutls_certificate_credentials but not the corresponding ..._t type. So 
this patch lets it compile on my system. Hopefully it will still work 
with the newer headers (otherwise we'll have to introduce a configure 
check :-( )

 dlls/secur32/schannel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c
index aea407e..8207668 100644
--- a/dlls/secur32/schannel.c
+++ b/dlls/secur32/schannel.c
@@ -63,7 +63,7 @@ struct schan_handle
 struct schan_credentials
 {
     ULONG credential_use;
-    gnutls_certificate_credentials_t credentials;
+    gnutls_certificate_credentials credentials;
 };
 
 static struct schan_handle *schan_handle_table;
-- 
1.5.6.5



More information about the wine-patches mailing list