freebsd-ports/security/py-kerberos/files/extra-patch-src_kerberosgss.h
Dan Langille 0f6dd9c8eb Fix for use with either GSSAPI_BASE or GSSAPI_HEIMDAL
Without, the first invocation of authGSSClientStep raises kerberos.GSSError
after failing to acquire a ticket for the krbtgt service on the intended host
rather than the specified service.

PR:		204899
Submitted by:	John W. O'Brien <john@saltant.com>
2018-01-30 02:20:10 +00:00

12 lines
313 B
C

--- src/kerberosgss.h.orig 2015-03-29 03:41:32 UTC
+++ src/kerberosgss.h
@@ -14,8 +14,8 @@
* limitations under the License.
**/
+#include <krb5.h>
#include <gssapi/gssapi.h>
-#include <gssapi/gssapi_generic.h>
#include <gssapi/gssapi_krb5.h>
#define krb5_get_err_text(context,code) error_message(code)