diff options
Diffstat (limited to 'ssh-gss.h')
-rw-r--r-- | ssh-gss.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -31,6 +31,18 @@ | |||
31 | 31 | ||
32 | #include <gssapi.h> | 32 | #include <gssapi.h> |
33 | 33 | ||
34 | #ifdef KRB5 | ||
35 | #ifndef HEIMDAL | ||
36 | #include <gssapi_generic.h> | ||
37 | |||
38 | /* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ | ||
39 | |||
40 | #ifndef GSS_C_NT_HOSTBASED_SERVICE | ||
41 | #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name | ||
42 | #endif /* GSS_C_NT_... */ | ||
43 | #endif /* !HEIMDAL */ | ||
44 | #endif /* KRB5 */ | ||
45 | |||
34 | /* draft-ietf-secsh-gsskeyex-06 */ | 46 | /* draft-ietf-secsh-gsskeyex-06 */ |
35 | #define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60 | 47 | #define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60 |
36 | #define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61 | 48 | #define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61 |