From cb307544ad56fd5825c20efbbf40e75bdda2230d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 5 Jun 2026 05:09:45 +0200 Subject: [PATCH] libssh2: sync version check with INTERNALS.md Follow-up to cf3b9657bcb7acd3525ca081b4ed16e860604d6d Closes #21868 --- lib/vssh/ssh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */