]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
- Marco Maggi reported that compilation failed when configured --with-gssapi
authorYang Tse <yangsita@gmail.com>
Wed, 11 Nov 2009 21:15:34 +0000 (21:15 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 11 Nov 2009 21:15:34 +0000 (21:15 +0000)
  and GNU GSS installed due to a missing mutual exclusion of header files in
  the Kerberos 5 code path. He also verified that my patch worked for him.

CHANGES
RELEASE-NOTES
lib/krb5.c

diff --git a/CHANGES b/CHANGES
index 20ed3f2345de38927b39083693dd988e73dcde55..cbe57113147b5dcf1da91b40311690d60141babe 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,11 @@
 
                                   Changelog
 
+Yang Tse (11 Nov 2009)
+- Marco Maggi reported that compilation failed when configured --with-gssapi
+  and GNU GSS installed due to a missing mutual exclusion of header files in
+  the Kerberos 5 code path. He also verified that my patch worked for him.
+
 Daniel Stenberg (11 Nov 2009)
 - Constantine Sapuntzakis posted bug #2891595
   (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry
index 89549d72e6bff5902aba721c0be5d955864c4078..635ba0b69c03bd7ddc6d9dcccc7a721cc525eb80 100644 (file)
@@ -17,6 +17,7 @@ This release includes the following bugfixes:
  o portability enhancement for OS's without orthogonal directory tree structure
  o progress meter/callback during FTP connection
  o DNS cache timeout while transfer in progress
+ o compilation when configured --with-gssapi having GNU GSS installed
 
 This release includes the following known bugs:
 
index e763912281a7ad2d7fd3bef956d724077736c6d0..36afc3c46d7103b7e1b705c27d94b4cb877dbe4d 100644 (file)
 #include <netdb.h>
 #endif
 #include <string.h>
-#ifdef HAVE_GSSMIT
-/* MIT style */
-#include <gssapi/gssapi.h>
-#include <gssapi/gssapi_generic.h>
-#include <gssapi/gssapi_krb5.h>
+
+#ifdef HAVE_GSSGNU
+#  include <gss.h>
+#elif defined HAVE_GSSMIT
+   /* MIT style */
+#  include <gssapi/gssapi.h>
+#  include <gssapi/gssapi_generic.h>
+#  include <gssapi/gssapi_krb5.h>
 #else
-/* Heimdal-style */
-#include <gssapi.h>
+   /* Heimdal-style */
+#  include <gssapi.h>
 #endif
 
 #include "urldata.h"