From d06208966b3c1ef07324fdfc247a52fc73eac550 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 17 Apr 2018 02:04:26 +0200 Subject: [PATCH] allow newer libssh versions - once they exist --- hydra-sshkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hydra-sshkey.c b/hydra-sshkey.c index e9f46c8..a9b85b2 100644 --- a/hydra-sshkey.c +++ b/hydra-sshkey.c @@ -15,7 +15,7 @@ void dummy_sshkey() { #include -#if LIBSSH_VERSION_MAJOR == 0 && LIBSSH_VERSION_MINOR >= 4 +#if LIBSSH_VERSION_MAJOR >= 0 && LIBSSH_VERSION_MINOR >= 4 extern ssh_session session; extern char *HYDRA_EXIT; @@ -147,7 +147,7 @@ void service_sshkey(char *ip, int32_t sp, unsigned char options, char *miscptr, } } #else -#error "You are not using v0.4.x. Download from http://www.libssh.org and add -DWITH_SSH1=On in cmake to enable SSH v1 support" +#error "You are not using at least v0.4.x. Download from http://www.libssh.org and add -DWITH_SSH1=On in cmake to enable SSH v1 support" #endif #endif