summaryrefslogtreecommitdiff
path: root/ssh-gss.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-02-25 11:24:44 +1100
committerDarren Tucker <dtucker@zip.com.au>2013-02-25 11:24:44 +1100
commit03978c61f32935b31337844aa25d87dc0edd39d2 (patch)
tree9467a076b7d4fcf741a3f59bf08096f393bf27d0 /ssh-gss.h
parenta423fefb89519814ab4a7a44001268648c58ff36 (diff)
downloadopenssh-git-03978c61f32935b31337844aa25d87dc0edd39d2.tar.gz
- (dtucker) [configure.ac ssh-gss.h] bz#2073: additional #includes needed
to use Solaris native GSS libs. Patch from Pierre Ossman.
Diffstat (limited to 'ssh-gss.h')
-rw-r--r--ssh-gss.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ssh-gss.h b/ssh-gss.h
index c29a1b7e..077e13ce 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -42,12 +42,13 @@
# include <gssapi/gssapi_generic.h>
# endif
-/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */
+/* Old MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */
-#ifndef GSS_C_NT_HOSTBASED_SERVICE
-#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
-#endif /* GSS_C_NT_... */
-#endif /* !HEIMDAL */
+# if !HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE
+# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
+# endif /* !HAVE_DECL_GSS_C_NT_... */
+
+# endif /* !HEIMDAL */
#endif /* KRB5 */
/* draft-ietf-secsh-gsskeyex-06 */