diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -73,6 +73,9 @@ enum kex_exchange { | |||
73 | KEX_DH_GEX_SHA1, | 73 | KEX_DH_GEX_SHA1, |
74 | KEX_DH_GEX_SHA256, | 74 | KEX_DH_GEX_SHA256, |
75 | KEX_ECDH_SHA2, | 75 | KEX_ECDH_SHA2, |
76 | KEX_GSS_GRP1_SHA1, | ||
77 | KEX_GSS_GRP14_SHA1, | ||
78 | KEX_GSS_GEX_SHA1, | ||
76 | KEX_MAX | 79 | KEX_MAX |
77 | }; | 80 | }; |
78 | 81 | ||
@@ -129,6 +132,12 @@ struct Kex { | |||
129 | sig_atomic_t done; | 132 | sig_atomic_t done; |
130 | int flags; | 133 | int flags; |
131 | const EVP_MD *evp_md; | 134 | const EVP_MD *evp_md; |
135 | #ifdef GSSAPI | ||
136 | int gss_deleg_creds; | ||
137 | int gss_trust_dns; | ||
138 | char *gss_host; | ||
139 | char *gss_client; | ||
140 | #endif | ||
132 | char *client_version_string; | 141 | char *client_version_string; |
133 | char *server_version_string; | 142 | char *server_version_string; |
134 | int (*verify_host_key)(Key *); | 143 | int (*verify_host_key)(Key *); |
@@ -156,6 +165,11 @@ void kexgex_server(Kex *); | |||
156 | void kexecdh_client(Kex *); | 165 | void kexecdh_client(Kex *); |
157 | void kexecdh_server(Kex *); | 166 | void kexecdh_server(Kex *); |
158 | 167 | ||
168 | #ifdef GSSAPI | ||
169 | void kexgss_client(Kex *); | ||
170 | void kexgss_server(Kex *); | ||
171 | #endif | ||
172 | |||
159 | void | 173 | void |
160 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 174 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
161 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 175 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |