summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-15 16:32:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-15 16:50:30 +0200
commite06b3dba0d1c127791227eb48b73a6740341526a (patch)
tree020256d00bf392a5d971264abe24e590bc046a76 /include/libssh
parent190ae27463fd20c6089e79ffc7cece07a83d66ba (diff)
downloadlibssh-e06b3dba0d1c127791227eb48b73a6740341526a.tar.gz
libssh-e06b3dba0d1c127791227eb48b73a6740341526a.tar.xz
libssh-e06b3dba0d1c127791227eb48b73a6740341526a.zip
bind: Read only once in ssh_bind_listen() (bug #11).
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/bind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/bind.h b/include/libssh/bind.h
index ef3a0e8..b2b856a 100644
--- a/include/libssh/bind.h
+++ b/include/libssh/bind.h
@@ -36,6 +36,8 @@ struct ssh_bind_struct {
char *banner;
char *dsakey;
char *rsakey;
+ ssh_key dsa;
+ ssh_key rsa;
char *bindaddr;
socket_t bindfd;
unsigned int bindport;