From 1abdb28995fa5db61af7f385abf078c9b58fd843 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 27 Jul 2009 23:17:35 +0200 Subject: Fix SSH1 compilation. --- libssh/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libssh/auth.c') 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(); -- cgit