mirror of
https://github.com/curl/curl.git
synced 2026-06-13 15:35:39 +03:00
libssh2: sync version check with INTERNALS.md
Follow-up to cf3b9657bc
Closes #21868
This commit is contained in:
parent
5c9ac36e58
commit
cb307544ad
1 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue