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 3024a2717..25720dff8 100644
--- a/kex.h
+++ b/kex.h
@@ -63,6 +63,7 @@ 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,
66 KEX_MAX 67 KEX_MAX
67}; 68};
68 69
@@ -114,6 +115,9 @@ struct Kex {
114 Buffer peer; 115 Buffer peer;
115 int done; 116 int done;
116 int flags; 117 int flags;
118#ifdef GSSAPI
119 int gss_deleg_creds;
120#endif
117 char *client_version_string; 121 char *client_version_string;
118 char *server_version_string; 122 char *server_version_string;
119 int (*verify_host_key)(Key *); 123 int (*verify_host_key)(Key *);
@@ -136,6 +140,11 @@ void kexdh_server(Kex *);
136void kexgex_client(Kex *); 140void kexgex_client(Kex *);
137void kexgex_server(Kex *); 141void kexgex_server(Kex *);
138 142
143#ifdef GSSAPI
144void kexgss_client(Kex *);
145void kexgss_server(Kex *);
146#endif
147
139u_char * 148u_char *
140kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 149kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
141 BIGNUM *, BIGNUM *, BIGNUM *); 150 BIGNUM *, BIGNUM *, BIGNUM *);