summaryrefslogtreecommitdiff
path: root/ssh-gss.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-24 10:37:33 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-24 10:37:33 +1100
commit0d27ed1c19d6de6bd50ab1f5096aee1c1ee97f69 (patch)
tree96bf92158b339f80c990b2f52e536781912dc8bf /ssh-gss.h
parenta6ea420c38160bf06f97bd6169597594dabee982 (diff)
- (dtucker) [configure.ac gss-serv-krb5.c ssh-gss.h] Define GSSAPI when found
with krb5-config, hunt down gssapi.h and friends. Based partially on patch from deengert at anl.gov. For the MIT Kerberos bug against krb5-config related to this see: http://krbdev.mit.edu/rt/Ticket/Display.html?id=2240
Diffstat (limited to 'ssh-gss.h')
-rw-r--r--ssh-gss.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/ssh-gss.h b/ssh-gss.h
index 2b6fe2130..4f032aa8f 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -30,11 +30,19 @@
30 30
31#include "buffer.h" 31#include "buffer.h"
32 32
33#ifdef HAVE_GSSAPI_H
33#include <gssapi.h> 34#include <gssapi.h>
35#elif defined(HAVE_GSSAPI_GSSAPI_H)
36#include <gssapi/gssapi.h>
37#endif
34 38
35#ifdef KRB5 39#ifdef KRB5
36#ifndef HEIMDAL 40# ifndef HEIMDAL
37#include <gssapi_generic.h> 41# ifdef HAVE_GSSAPI_GENERIC_H
42# include <gssapi_generic.h>
43# elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)
44# include <gssapi/gssapi_generic.h>
45# endif
38 46
39/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ 47/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */
40 48