aboutsummaryrefslogtreecommitdiff
path: root/libssh/options.c
diff options
context:
space:
mode:
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;