diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -74,6 +74,9 @@ enum kex_exchange { | |||
74 | KEX_DH_GEX_SHA1, | 74 | KEX_DH_GEX_SHA1, |
75 | KEX_DH_GEX_SHA256, | 75 | KEX_DH_GEX_SHA256, |
76 | KEX_ECDH_SHA2, | 76 | KEX_ECDH_SHA2, |
77 | KEX_GSS_GRP1_SHA1, | ||
78 | KEX_GSS_GRP14_SHA1, | ||
79 | KEX_GSS_GEX_SHA1, | ||
77 | KEX_MAX | 80 | KEX_MAX |
78 | }; | 81 | }; |
79 | 82 | ||
@@ -133,6 +136,12 @@ struct Kex { | |||
133 | int flags; | 136 | int flags; |
134 | const EVP_MD *evp_md; | 137 | const EVP_MD *evp_md; |
135 | int ec_nid; | 138 | int ec_nid; |
139 | #ifdef GSSAPI | ||
140 | int gss_deleg_creds; | ||
141 | int gss_trust_dns; | ||
142 | char *gss_host; | ||
143 | char *gss_client; | ||
144 | #endif | ||
136 | char *client_version_string; | 145 | char *client_version_string; |
137 | char *server_version_string; | 146 | char *server_version_string; |
138 | int (*verify_host_key)(Key *); | 147 | int (*verify_host_key)(Key *); |
@@ -162,6 +171,11 @@ void kexgex_server(Kex *); | |||
162 | void kexecdh_client(Kex *); | 171 | void kexecdh_client(Kex *); |
163 | void kexecdh_server(Kex *); | 172 | void kexecdh_server(Kex *); |
164 | 173 | ||
174 | #ifdef GSSAPI | ||
175 | void kexgss_client(Kex *); | ||
176 | void kexgss_server(Kex *); | ||
177 | #endif | ||
178 | |||
165 | void | 179 | void |
166 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 180 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
167 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 181 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |