summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index 3024a2717..b458c2d1e 100644
--- a/kex.h
+++ b/kex.h
@@ -63,6 +63,8 @@ enum kex_exchange {
63 KEX_DH_GRP1_SHA1, 63 KEX_DH_GRP1_SHA1,
64 KEX_DH_GRP14_SHA1, 64 KEX_DH_GRP14_SHA1,
65 KEX_DH_GEX_SHA1, 65 KEX_DH_GEX_SHA1,
66 KEX_GSS_GRP1_SHA1,
67 KEX_GSS_GEX_SHA1,
66 KEX_MAX 68 KEX_MAX
67}; 69};
68 70
@@ -114,6 +116,11 @@ struct Kex {
114 Buffer peer; 116 Buffer peer;
115 int done; 117 int done;
116 int flags; 118 int flags;
119#ifdef GSSAPI
120 int gss_deleg_creds;
121 int gss_trust_dns;
122 char *gss_host;
123#endif
117 char *client_version_string; 124 char *client_version_string;
118 char *server_version_string; 125 char *server_version_string;
119 int (*verify_host_key)(Key *); 126 int (*verify_host_key)(Key *);
@@ -136,6 +143,11 @@ void kexdh_server(Kex *);
136void kexgex_client(Kex *); 143void kexgex_client(Kex *);
137void kexgex_server(Kex *); 144void kexgex_server(Kex *);
138 145
146#ifdef GSSAPI
147void kexgss_client(Kex *);
148void kexgss_server(Kex *);
149#endif
150
139u_char * 151u_char *
140kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 152kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
141 BIGNUM *, BIGNUM *, BIGNUM *); 153 BIGNUM *, BIGNUM *, BIGNUM *);