diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -63,6 +63,7 @@ enum kex_exchange { | |||
63 | KEX_DH_GRP1_SHA1, | 63 | KEX_DH_GRP1_SHA1, |
64 | KEX_DH_GRP14_SHA1, | 64 | KEX_DH_GRP14_SHA1, |
65 | KEX_DH_GEX_SHA1, | 65 | KEX_DH_GEX_SHA1, |
66 | KEX_GSS_GRP1_SHA1, | ||
66 | KEX_MAX | 67 | KEX_MAX |
67 | }; | 68 | }; |
68 | 69 | ||
@@ -114,6 +115,9 @@ struct Kex { | |||
114 | Buffer peer; | 115 | Buffer peer; |
115 | int done; | 116 | int done; |
116 | int flags; | 117 | int flags; |
118 | #ifdef GSSAPI | ||
119 | int gss_deleg_creds; | ||
120 | #endif | ||
117 | char *client_version_string; | 121 | char *client_version_string; |
118 | char *server_version_string; | 122 | char *server_version_string; |
119 | int (*verify_host_key)(Key *); | 123 | int (*verify_host_key)(Key *); |
@@ -136,6 +140,11 @@ void kexdh_server(Kex *); | |||
136 | void kexgex_client(Kex *); | 140 | void kexgex_client(Kex *); |
137 | void kexgex_server(Kex *); | 141 | void kexgex_server(Kex *); |
138 | 142 | ||
143 | #ifdef GSSAPI | ||
144 | void kexgss_client(Kex *); | ||
145 | void kexgss_server(Kex *); | ||
146 | #endif | ||
147 | |||
139 | u_char * | 148 | u_char * |
140 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 149 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
141 | BIGNUM *, BIGNUM *, BIGNUM *); | 150 | BIGNUM *, BIGNUM *, BIGNUM *); |