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/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 7c0246e..bbc985b 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