From: Viktor Szakats Date: Fri, 5 Jun 2026 03:09:45 +0000 (+0200) Subject: libssh2: sync version check with INTERNALS.md X-Git-Tag: rc-8_21_0-2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb307544ad56fd5825c20efbbf40e75bdda2230d;p=thirdparty%2Fcurl.git libssh2: sync version check with INTERNALS.md Follow-up to cf3b9657bcb7acd3525ca081b4ed16e860604d6d Closes #21868 --- diff --git a/lib/vssh/ssh.h b/lib/vssh/ssh.h index 24309f5207..de76c8a253 100644 --- a/lib/vssh/ssh.h +++ b/lib/vssh/ssh.h @@ -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 */