summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index 62fa2ea50..d2668b149 100644
--- a/kex.h
+++ b/kex.h
@@ -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 *);
146void kexgex_client(Kex *); 155void kexgex_client(Kex *);
147void kexgex_server(Kex *); 156void kexgex_server(Kex *);
148 157
158#ifdef GSSAPI
159void kexgss_client(Kex *);
160void kexgss_server(Kex *);
161#endif
162
149void 163void
150kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 164kex_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 *);