diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -59,6 +59,7 @@ enum kex_exchange { | |||
59 | KEX_DH_GRP1_SHA1, | 59 | KEX_DH_GRP1_SHA1, |
60 | KEX_DH_GRP14_SHA1, | 60 | KEX_DH_GRP14_SHA1, |
61 | KEX_DH_GEX_SHA1, | 61 | KEX_DH_GEX_SHA1, |
62 | KEX_GSS_GRP1_SHA1, | ||
62 | KEX_MAX | 63 | KEX_MAX |
63 | }; | 64 | }; |
64 | 65 | ||
@@ -110,6 +111,9 @@ struct Kex { | |||
110 | Buffer peer; | 111 | Buffer peer; |
111 | int done; | 112 | int done; |
112 | int flags; | 113 | int flags; |
114 | #ifdef GSSAPI | ||
115 | int gss_deleg_creds; | ||
116 | #endif | ||
113 | char *client_version_string; | 117 | char *client_version_string; |
114 | char *server_version_string; | 118 | char *server_version_string; |
115 | int (*verify_host_key)(Key *); | 119 | int (*verify_host_key)(Key *); |
@@ -132,6 +136,11 @@ void kexdh_server(Kex *); | |||
132 | void kexgex_client(Kex *); | 136 | void kexgex_client(Kex *); |
133 | void kexgex_server(Kex *); | 137 | void kexgex_server(Kex *); |
134 | 138 | ||
139 | #ifdef GSSAPI | ||
140 | void kexgss_client(Kex *); | ||
141 | void kexgss_server(Kex *); | ||
142 | #endif | ||
143 | |||
135 | u_char * | 144 | u_char * |
136 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 145 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
137 | BIGNUM *, BIGNUM *, BIGNUM *); | 146 | BIGNUM *, BIGNUM *, BIGNUM *); |