diff options
Diffstat (limited to 'ssh-gss.h')
-rw-r--r-- | ssh-gss.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -67,7 +67,10 @@ | |||
67 | #define SSH2_MSG_KEXGSS_COMPLETE 32 | 67 | #define SSH2_MSG_KEXGSS_COMPLETE 32 |
68 | #define SSH2_MSG_KEXGSS_HOSTKEY 33 | 68 | #define SSH2_MSG_KEXGSS_HOSTKEY 33 |
69 | #define SSH2_MSG_KEXGSS_ERROR 34 | 69 | #define SSH2_MSG_KEXGSS_ERROR 34 |
70 | #define KEX_GSS_SHA1 "gss-group1-sha1-" | 70 | #define SSH2_MSG_KEXGSS_GROUPREQ 40 |
71 | #define SSH2_MSG_KEXGSS_GROUP 41 | ||
72 | #define KEX_GSS_GRP1_SHA1_ID "gss-group1-sha1-" | ||
73 | #define KEX_GSS_GEX_SHA1_ID "gss-gex-sha1-" | ||
71 | 74 | ||
72 | typedef struct { | 75 | typedef struct { |
73 | char *filename; | 76 | char *filename; |
@@ -130,19 +133,19 @@ OM_uint32 ssh_gssapi_server_ctx(Gssctxt **, gss_OID); | |||
130 | void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *); | 133 | void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *); |
131 | 134 | ||
132 | typedef int ssh_gssapi_check_fn(gss_OID, void *); | 135 | typedef int ssh_gssapi_check_fn(gss_OID, void *); |
133 | char *ssh_gssapi_client_mechanisms(char *host); | 136 | char *ssh_gssapi_client_mechanisms(const char *host); |
134 | char *ssh_gssapi_kex_mechs(gss_OID_set, ssh_gssapi_check_fn *, void *); | 137 | char *ssh_gssapi_kex_mechs(gss_OID_set, ssh_gssapi_check_fn *, void *); |
135 | int ssh_gssapi_check_mechanism(gss_OID, void *); | 138 | int ssh_gssapi_check_mechanism(gss_OID, void *); |
136 | gss_OID ssh_gssapi_id_kex(Gssctxt *, char *); | 139 | gss_OID ssh_gssapi_id_kex(Gssctxt *, char *, int *); |
137 | 140 | ||
138 | char *ssh_gssapi_server_mechanisms(void); | ||
139 | int ssh_gssapi_server_check_mech(gss_OID, void *); | 141 | int ssh_gssapi_server_check_mech(gss_OID, void *); |
140 | int ssh_gssapi_userok(char *name); | 142 | int ssh_gssapi_userok(char *name); |
141 | OM_uint32 ssh_gssapi_checkmic(Gssctxt *, gss_buffer_t, gss_buffer_t); | 143 | OM_uint32 ssh_gssapi_checkmic(Gssctxt *, gss_buffer_t, gss_buffer_t); |
142 | void ssh_gssapi_do_child(char ***, u_int *); | 144 | void ssh_gssapi_do_child(char ***, u_int *); |
143 | void ssh_gssapi_cleanup_creds(void); | 145 | void ssh_gssapi_cleanup_creds(void); |
144 | void ssh_gssapi_storecreds(void); | 146 | void ssh_gssapi_storecreds(void); |
145 | 147 | char * ssh_gssapi_server_mechanisms(void); | |
148 | int ssh_gssapi_oid_table_ok(); | ||
146 | #endif /* GSSAPI */ | 149 | #endif /* GSSAPI */ |
147 | 150 | ||
148 | #endif /* _SSH_GSS_H */ | 151 | #endif /* _SSH_GSS_H */ |