summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-27 23:17:35 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-27 23:17:35 +0200
commit1abdb28995fa5db61af7f385abf078c9b58fd843 (patch)
tree0a0bd658cd70d9cca461723ef71e486592a6c52c /libssh/auth.c
parent81dab99afcd0d9030aff9ab3f54a7a80101e36d2 (diff)
downloadlibssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.gz
libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.xz
libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.zip
Fix SSH1 compilation.
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 6c38095..22840a3 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();