mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 12:36:09 -07:00
allow newer libssh versions - once they exist
This commit is contained in:
parent
1845c4476b
commit
d06208966b
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ void dummy_sshkey() {
|
|||
|
||||
#include <libssh/libssh.h>
|
||||
|
||||
#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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue