diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-29 16:02:52 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-29 16:02:52 +0200 |
commit | 6f47401173340665e25872bef0b87cedd9812602 (patch) | |
tree | e0c25e7379793101943b7aca57fff80fd6a6a1af /libssh/auth.c | |
parent | d247b86202f68170de6b5c2fb4e73ed16a621ed3 (diff) | |
download | libssh-6f47401173340665e25872bef0b87cedd9812602.tar.gz libssh-6f47401173340665e25872bef0b87cedd9812602.tar.xz libssh-6f47401173340665e25872bef0b87cedd9812602.zip |
Fix SSH1 compilation.
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 77d4d218..160d4397 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -208,7 +208,7 @@ int ssh_userauth_none(SSH_SESSION *session, const char *username) { enter_function(); -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 if (session->version == 1) { ssh_userauth1_none(session, username); leave_function(); @@ -314,7 +314,7 @@ int ssh_userauth_offer_pubkey(SSH_SESSION *session, const char *username, enter_function(); -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 if (session->version == 1) { ssh_userauth1_offer_pubkey(session, username, type, publickey); leave_function(); @@ -671,7 +671,7 @@ int ssh_userauth_password(SSH_SESSION *session, const char *username, enter_function(); -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 if (session->version == 1) { rc = ssh_userauth1_password(session, username, password); leave_function(); |