summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index d9e9d6522..9536d506c 100644
--- a/kex.h
+++ b/kex.h
@@ -59,6 +59,7 @@ enum kex_exchange {
59 KEX_DH_GRP1_SHA1, 59 KEX_DH_GRP1_SHA1,
60 KEX_DH_GRP14_SHA1, 60 KEX_DH_GRP14_SHA1,
61 KEX_DH_GEX_SHA1, 61 KEX_DH_GEX_SHA1,
62 KEX_GSS_GRP1_SHA1,
62 KEX_MAX 63 KEX_MAX
63}; 64};
64 65
@@ -110,6 +111,9 @@ struct Kex {
110 Buffer peer; 111 Buffer peer;
111 int done; 112 int done;
112 int flags; 113 int flags;
114#ifdef GSSAPI
115 int gss_deleg_creds;
116#endif
113 char *client_version_string; 117 char *client_version_string;
114 char *server_version_string; 118 char *server_version_string;
115 int (*verify_host_key)(Key *); 119 int (*verify_host_key)(Key *);
@@ -132,6 +136,11 @@ void kexdh_server(Kex *);
132void kexgex_client(Kex *); 136void kexgex_client(Kex *);
133void kexgex_server(Kex *); 137void kexgex_server(Kex *);
134 138
139#ifdef GSSAPI
140void kexgss_client(Kex *);
141void kexgss_server(Kex *);
142#endif
143
135u_char * 144u_char *
136kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 145kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
137 BIGNUM *, BIGNUM *, BIGNUM *); 146 BIGNUM *, BIGNUM *, BIGNUM *);