aboutsummaryrefslogtreecommitdiff
path: root/libssh/options.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-29 16:02:52 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-29 16:02:52 +0200
commit6f47401173340665e25872bef0b87cedd9812602 (patch)
treee0c25e7379793101943b7aca57fff80fd6a6a1af /libssh/options.c
parentd247b86202f68170de6b5c2fb4e73ed16a621ed3 (diff)
downloadlibssh-6f47401173340665e25872bef0b87cedd9812602.tar.gz
libssh-6f47401173340665e25872bef0b87cedd9812602.tar.xz
libssh-6f47401173340665e25872bef0b87cedd9812602.zip
Fix SSH1 compilation.
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c4
1 files changed, 2 insertions, 2 deletions
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;