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 | ||
@@ -131,6 +134,12 @@ struct Kex { | |||
131 | sig_atomic_t done; | 134 | sig_atomic_t done; |
132 | int flags; | 135 | int flags; |
133 | const EVP_MD *evp_md; | 136 | const EVP_MD *evp_md; |
137 | #ifdef GSSAPI | ||
138 | int gss_deleg_creds; | ||
139 | int gss_trust_dns; | ||
140 | char *gss_host; | ||
141 | char *gss_client; | ||
142 | #endif | ||
134 | char *client_version_string; | 143 | char *client_version_string; |
135 | char *server_version_string; | 144 | char *server_version_string; |
136 | int (*verify_host_key)(Key *); | 145 | int (*verify_host_key)(Key *); |
@@ -158,6 +167,11 @@ void kexgex_server(Kex *); | |||
158 | void kexecdh_client(Kex *); | 167 | void kexecdh_client(Kex *); |
159 | void kexecdh_server(Kex *); | 168 | void kexecdh_server(Kex *); |
160 | 169 | ||
170 | #ifdef GSSAPI | ||
171 | void kexgss_client(Kex *); | ||
172 | void kexgss_server(Kex *); | ||
173 | #endif | ||
174 | |||
161 | void | 175 | void |
162 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 176 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
163 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 177 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |