diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-27 23:17:35 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-27 23:17:35 +0200 |
commit | 1abdb28995fa5db61af7f385abf078c9b58fd843 (patch) | |
tree | 0a0bd658cd70d9cca461723ef71e486592a6c52c /libssh/options.c | |
parent | 81dab99afcd0d9030aff9ab3f54a7a80101e36d2 (diff) | |
download | libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.gz libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.tar.xz libssh-1abdb28995fa5db61af7f385abf078c9b58fd843.zip |
Fix SSH1 compilation.
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |