summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 12:37:45 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 12:37:45 +0000
commit396db49a41444f72cd9635c1b602e667ff7a729a (patch)
treee0fecaa09d132d3784b8d8b42a0b894cc3771ca2 /include/libssh
parent94e91b73f78218c586111c60c3df30bb82741c7a (diff)
downloadlibssh-396db49a41444f72cd9635c1b602e667ff7a729a.tar.gz
libssh-396db49a41444f72cd9635c1b602e667ff7a729a.tar.xz
libssh-396db49a41444f72cd9635c1b602e667ff7a729a.zip
Improve ssh_options_allow_ssh1().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@366 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 14fddfb..8115871 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -321,7 +321,7 @@ int ssh_options_set_banner(SSH_OPTIONS *opt, const char *banner);
int ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback)
(void *arg, float status), void *arg);
int ssh_options_set_timeout(SSH_OPTIONS *opt, long seconds, long usec);
-void ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow);
+int ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow);
void ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow);
void ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsakey);
void ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, const char *rsakey);