summaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-11-09 15:42:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-09 15:43:27 +0100
commit9dbbba997608f7c3c5de1c627c77c8cd2aa85b73 (patch)
tree80e7f46f1a83acbf4d1427c573ffd099af11b564 /lib/ssh.c
parent18e1a3022deebfa91ef022f09de3396d595f50b2 (diff)
downloadgnurl-9dbbba997608f7c3c5de1c627c77c8cd2aa85b73.tar.gz
gnurl-9dbbba997608f7c3c5de1c627c77c8cd2aa85b73.tar.bz2
gnurl-9dbbba997608f7c3c5de1c627c77c8cd2aa85b73.zip
libssh2: detect features based on version, not configure checks
... so that non-configure builds get the correct functions too based on the libssh2 version used.
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 6fefe8aee..ba26eef72 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -99,13 +99,6 @@
# endif
#endif
-/* Feature detection based on version numbers to better work with
- non-configure platforms */
-#if LIBSSH2_VERSION_NUM >= 0x010206
-/* libssh2_knownhost_checkp was added in 1.2.6 */
-#define HAVE_LIBSSH2_KNOWNHOST_CHECKP
-#endif
-
#ifndef PATH_MAX
#define PATH_MAX 1024 /* just an extra precaution since there are systems that
have their definition hidden well */