diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -64,6 +64,9 @@ enum kex_exchange { | |||
64 | KEX_DH_GRP14_SHA1, | 64 | KEX_DH_GRP14_SHA1, |
65 | KEX_DH_GEX_SHA1, | 65 | KEX_DH_GEX_SHA1, |
66 | KEX_DH_GEX_SHA256, | 66 | KEX_DH_GEX_SHA256, |
67 | KEX_GSS_GRP1_SHA1, | ||
68 | KEX_GSS_GRP14_SHA1, | ||
69 | KEX_GSS_GEX_SHA1, | ||
67 | KEX_MAX | 70 | KEX_MAX |
68 | }; | 71 | }; |
69 | 72 | ||
@@ -119,6 +122,12 @@ struct Kex { | |||
119 | sig_atomic_t done; | 122 | sig_atomic_t done; |
120 | int flags; | 123 | int flags; |
121 | const EVP_MD *evp_md; | 124 | const EVP_MD *evp_md; |
125 | #ifdef GSSAPI | ||
126 | int gss_deleg_creds; | ||
127 | int gss_trust_dns; | ||
128 | char *gss_host; | ||
129 | char *gss_client; | ||
130 | #endif | ||
122 | char *client_version_string; | 131 | char *client_version_string; |
123 | char *server_version_string; | 132 | char *server_version_string; |
124 | int (*verify_host_key)(Key *); | 133 | int (*verify_host_key)(Key *); |
@@ -141,6 +150,11 @@ void kexdh_server(Kex *); | |||
141 | void kexgex_client(Kex *); | 150 | void kexgex_client(Kex *); |
142 | void kexgex_server(Kex *); | 151 | void kexgex_server(Kex *); |
143 | 152 | ||
153 | #ifdef GSSAPI | ||
154 | void kexgss_client(Kex *); | ||
155 | void kexgss_server(Kex *); | ||
156 | #endif | ||
157 | |||
144 | void | 158 | void |
145 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 159 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
146 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 160 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |