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/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libssh/options.c') diff --git a/libssh/options.c b/libssh/options.c index 7c0246ef..bbc985b6 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -60,7 +60,7 @@ SSH_OPTIONS *ssh_options_new(void) { option->port=22; /* set the default port */ option->fd=-1; option->ssh2allowed=1; -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 option->ssh1allowed=1; #else option->ssh1allowed=0; @@ -830,7 +830,7 @@ int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv) { int compress = 0; int cont = 1; int current = 0; -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 int ssh1 = 1; #else int ssh1 = 0; -- cgit