diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -63,6 +63,9 @@ enum kex_exchange { | |||
63 | KEX_DH_GRP14_SHA1, | 63 | KEX_DH_GRP14_SHA1, |
64 | KEX_DH_GEX_SHA1, | 64 | KEX_DH_GEX_SHA1, |
65 | KEX_DH_GEX_SHA256, | 65 | KEX_DH_GEX_SHA256, |
66 | KEX_GSS_GRP1_SHA1, | ||
67 | KEX_GSS_GRP14_SHA1, | ||
68 | KEX_GSS_GEX_SHA1, | ||
66 | KEX_MAX | 69 | KEX_MAX |
67 | }; | 70 | }; |
68 | 71 | ||
@@ -115,6 +118,11 @@ struct Kex { | |||
115 | sig_atomic_t done; | 118 | sig_atomic_t done; |
116 | int flags; | 119 | int flags; |
117 | const EVP_MD *evp_md; | 120 | const EVP_MD *evp_md; |
121 | #ifdef GSSAPI | ||
122 | int gss_deleg_creds; | ||
123 | int gss_trust_dns; | ||
124 | char *gss_host; | ||
125 | #endif | ||
118 | char *client_version_string; | 126 | char *client_version_string; |
119 | char *server_version_string; | 127 | char *server_version_string; |
120 | int (*verify_host_key)(Key *); | 128 | int (*verify_host_key)(Key *); |
@@ -137,6 +145,11 @@ void kexdh_server(Kex *); | |||
137 | void kexgex_client(Kex *); | 145 | void kexgex_client(Kex *); |
138 | void kexgex_server(Kex *); | 146 | void kexgex_server(Kex *); |
139 | 147 | ||
148 | #ifdef GSSAPI | ||
149 | void kexgss_client(Kex *); | ||
150 | void kexgss_server(Kex *); | ||
151 | #endif | ||
152 | |||
140 | void | 153 | void |
141 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 154 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
142 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 155 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |