aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/bind.h')
-rw-r--r--include/libssh/bind.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/bind.h b/include/libssh/bind.h
index 4ca23760..6b5f19dd 100644
--- a/include/libssh/bind.h
+++ b/include/libssh/bind.h
@@ -22,6 +22,7 @@
#define BIND_H_
#include "libssh/priv.h"
+#include "libssh/kex.h"
#include "libssh/session.h"
struct ssh_bind_struct {
@@ -31,7 +32,7 @@ struct ssh_bind_struct {
struct ssh_poll_handle_struct *poll;
/* options */
- char *wanted_methods[10];
+ char *wanted_methods[SSH_KEX_METHODS];
char *banner;
char *ecdsakey;
char *dsakey;