diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 13 |
1 files changed, 13 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,11 @@ 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 | #endif | ||
122 | char *client_version_string; | 130 | char *client_version_string; |
123 | char *server_version_string; | 131 | char *server_version_string; |
124 | int (*verify_host_key)(Key *); | 132 | int (*verify_host_key)(Key *); |
@@ -141,6 +149,11 @@ void kexdh_server(Kex *); | |||
141 | void kexgex_client(Kex *); | 149 | void kexgex_client(Kex *); |
142 | void kexgex_server(Kex *); | 150 | void kexgex_server(Kex *); |
143 | 151 | ||
152 | #ifdef GSSAPI | ||
153 | void kexgss_client(Kex *); | ||
154 | void kexgss_server(Kex *); | ||
155 | #endif | ||
156 | |||
144 | void | 157 | void |
145 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 158 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
146 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 159 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |