[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnutls changes break Windows mingw64 build

From: Andy Moreton
Subject: gnutls changes break Windows mingw64 build
Date: Tue, 09 Dec 2014 15:06:40 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (windows-nt)


The changes in commit ad67503f50b8 ("Make gnutls-peer-status return even
more data") broke the msys2 mingw64 build for me. The following trivial
change fixed it:

diff --git a/src/gnutls.c b/src/gnutls.c
index 46ef21137fb6..aa800be25762 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -194,7 +194,7 @@ DEF_GNUTLS_FN (gnutls_kx_algorithm_t, gnutls_kx_get, 
 DEF_GNUTLS_FN (const char*, gnutls_kx_get_name, (gnutls_kx_algorithm_t));
 DEF_GNUTLS_FN (gnutls_protocol_t, gnutls_protocol_get_version,
-DEF_GNUTLS_FN (const char*, gnutls_protocol_get_version, (gnutls_protocol_t));
+DEF_GNUTLS_FN (const char*, gnutls_protocol_get_name, (gnutls_protocol_t));
 DEF_GNUTLS_FN (gnutls_cipher_algorithm_t, gnutls_cipher_get,
 DEF_GNUTLS_FN (const char*, gnutls_cipher_get_name,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]