]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libssh2: sync version check with INTERNALS.md
authorViktor Szakats <commit@vsz.me>
Fri, 5 Jun 2026 03:09:45 +0000 (05:09 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 5 Jun 2026 10:06:22 +0000 (12:06 +0200)
Follow-up to cf3b9657bcb7acd3525ca081b4ed16e860604d6d

Closes #21868

lib/vssh/ssh.h

index 24309f5207cf7f9a6cd2f8137c0fbdfff84dab55..de76c8a253d0816b16f638163dfae2adb8935858 100644 (file)
@@ -229,9 +229,9 @@ struct ssh_conn {
 /* Feature detection based on version numbers to better work with
    non-configure platforms */
 
-#if !defined(LIBSSH2_VERSION_NUM) || (LIBSSH2_VERSION_NUM < 0x010208)
-#error "SCP/SFTP protocols require libssh2 1.2.8 or later"
-/* 1.2.8 was released on April 5 2011 */
+#if !defined(LIBSSH2_VERSION_NUM) || (LIBSSH2_VERSION_NUM < 0x010900)
+#error "SCP/SFTP protocols require libssh2 1.9.0 or greater"
+/* 1.9.0 was released on June 20 2019 */
 #endif
 
 #endif /* USE_LIBSSH2 */