From 6f47401173340665e25872bef0b87cedd9812602 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Jul 2009 16:02:52 +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 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(); -- cgit