diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -63,6 +63,8 @@ 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, | ||
67 | KEX_GSS_GEX_SHA1, | ||
66 | KEX_MAX | 68 | KEX_MAX |
67 | }; | 69 | }; |
68 | 70 | ||
@@ -114,6 +116,11 @@ struct Kex { | |||
114 | Buffer peer; | 116 | Buffer peer; |
115 | int done; | 117 | int done; |
116 | int flags; | 118 | int flags; |
119 | #ifdef GSSAPI | ||
120 | int gss_deleg_creds; | ||
121 | int gss_trust_dns; | ||
122 | char *gss_host; | ||
123 | #endif | ||
117 | char *client_version_string; | 124 | char *client_version_string; |
118 | char *server_version_string; | 125 | char *server_version_string; |
119 | int (*verify_host_key)(Key *); | 126 | int (*verify_host_key)(Key *); |
@@ -136,6 +143,11 @@ void kexdh_server(Kex *); | |||
136 | void kexgex_client(Kex *); | 143 | void kexgex_client(Kex *); |
137 | void kexgex_server(Kex *); | 144 | void kexgex_server(Kex *); |
138 | 145 | ||
146 | #ifdef GSSAPI | ||
147 | void kexgss_client(Kex *); | ||
148 | void kexgss_server(Kex *); | ||
149 | #endif | ||
150 | |||
139 | u_char * | 151 | u_char * |
140 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 152 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
141 | BIGNUM *, BIGNUM *, BIGNUM *); | 153 | BIGNUM *, BIGNUM *, BIGNUM *); |