diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -67,6 +67,9 @@ enum kex_exchange { | |||
67 | KEX_DH_GRP14_SHA1, | 67 | KEX_DH_GRP14_SHA1, |
68 | KEX_DH_GEX_SHA1, | 68 | KEX_DH_GEX_SHA1, |
69 | KEX_DH_GEX_SHA256, | 69 | KEX_DH_GEX_SHA256, |
70 | KEX_GSS_GRP1_SHA1, | ||
71 | KEX_GSS_GRP14_SHA1, | ||
72 | KEX_GSS_GEX_SHA1, | ||
70 | KEX_MAX | 73 | KEX_MAX |
71 | }; | 74 | }; |
72 | 75 | ||
@@ -123,6 +126,12 @@ struct Kex { | |||
123 | sig_atomic_t done; | 126 | sig_atomic_t done; |
124 | int flags; | 127 | int flags; |
125 | const EVP_MD *evp_md; | 128 | const EVP_MD *evp_md; |
129 | #ifdef GSSAPI | ||
130 | int gss_deleg_creds; | ||
131 | int gss_trust_dns; | ||
132 | char *gss_host; | ||
133 | char *gss_client; | ||
134 | #endif | ||
126 | char *client_version_string; | 135 | char *client_version_string; |
127 | char *server_version_string; | 136 | char *server_version_string; |
128 | int (*verify_host_key)(Key *); | 137 | int (*verify_host_key)(Key *); |
@@ -146,6 +155,11 @@ void kexdh_server(Kex *); | |||
146 | void kexgex_client(Kex *); | 155 | void kexgex_client(Kex *); |
147 | void kexgex_server(Kex *); | 156 | void kexgex_server(Kex *); |
148 | 157 | ||
158 | #ifdef GSSAPI | ||
159 | void kexgss_client(Kex *); | ||
160 | void kexgss_server(Kex *); | ||
161 | #endif | ||
162 | |||
149 | void | 163 | void |
150 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 164 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
151 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 165 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |