Jacek Caban : secur32: Fixed compilation on with gnutls.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 17 10:18:11 CDT 2015


Module: wine
Branch: master
Commit: 72747526b1242f436db9e68d319c37484ce02109
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72747526b1242f436db9e68d319c37484ce02109

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jun 17 13:01:14 2015 +0200

secur32: Fixed compilation on with gnutls.

---

 dlls/secur32/schannel_gnutls.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
index bb463c1..c0b6f80 100644
--- a/dlls/secur32/schannel_gnutls.c
+++ b/dlls/secur32/schannel_gnutls.c
@@ -76,7 +76,10 @@ MAKE_FUNCPTR(gnutls_transport_set_pull_function);
 MAKE_FUNCPTR(gnutls_transport_set_push_function);
 #undef MAKE_FUNCPTR
 
-
+#if GNUTLS_VERSION_MAJOR < 3
+#define GNUTLS_CIPHER_AES_128_GCM 93
+#define GNUTLS_CIPHER_AES_256_GCM 94
+#endif
 
 static ssize_t schan_pull_adapter(gnutls_transport_ptr_t transport,
                                       void *buff, size_t buff_len)
@@ -258,7 +261,7 @@ static DWORD schannel_get_protocol(gnutls_protocol_t proto)
     }
 }
 
-static ALG_ID schannel_get_cipher_algid(gnutls_cipher_algorithm_t cipher)
+static ALG_ID schannel_get_cipher_algid(int cipher)
 {
     switch (cipher)
     {




More information about the wine-cvs mailing list