diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-27 23:17:35 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-27 23:17:35 +0200 |
commit | 1abdb28995fa5db61af7f385abf078c9b58fd843 (patch) | |
tree | 0a0bd658cd70d9cca461723ef71e486592a6c52c /libssh/auth1.c | |
parent | 81dab99afcd0d9030aff9ab3f54a7a80101e36d2 (diff) | |
download | libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.gz libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.xz libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.zip |
Fix SSH1 compilation.
Diffstat (limited to 'libssh/auth1.c')
-rw-r--r-- | libssh/auth1.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libssh/auth1.c b/libssh/auth1.c index 6d11b2c..b940399 100644 --- a/libssh/auth1.c +++ b/libssh/auth1.c @@ -27,7 +27,7 @@ #include "libssh/priv.h" #include "libssh/ssh1.h" -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 static int wait_auth1_status(SSH_SESSION *session) { /* wait for a packet */ if (packet_read(session) != SSH_OK) { @@ -138,7 +138,11 @@ int ssh_userauth_offer_pubkey(SSH_SESSION *session, char *username,int type, ssh */ int ssh_userauth1_offer_pubkey(SSH_SESSION *session, const char *username, int type, ssh_string pubkey) { - return SSH_AUTH_DENIED; + (void) session; + (void) username; + (void) type; + (void) pubkey; + return SSH_AUTH_DENIED; } /* @@ -247,5 +251,5 @@ int ssh_userauth1_password(SSH_SESSION *session, const char *username, return wait_auth1_status(session); } -#endif /* HAVE_SSH1 */ +#endif /* WITH_SSH1 */ /* vim: set ts=2 sw=2 et cindent: */ |