summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index 8e29c90e9..bd763a074 100644
--- a/kex.h
+++ b/kex.h
@@ -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 *);
141void kexgex_client(Kex *); 149void kexgex_client(Kex *);
142void kexgex_server(Kex *); 150void kexgex_server(Kex *);
143 151
152#ifdef GSSAPI
153void kexgss_client(Kex *);
154void kexgss_server(Kex *);
155#endif
156
144void 157void
145kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 158kex_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 *);