1 commit 11449b5cd8b415768e010d9b7c1d6ba3cea21f82
2 Author: RĂ©mi Denis-Courmont <remi@remlab.net>
3 Date: Wed Mar 20 05:20:30 2019 +0200
5 sftp: fix version for ECDSA known hosts (fixes #22060)
7 1.8.x is a stable branch, separate from the feature branch that contains
10 diff --git a/modules/access/sftp.c b/modules/access/sftp.c
11 index e420b91ca9..dc7f6cc27f 100644
12 --- a/modules/access/sftp.c
13 +++ b/modules/access/sftp.c
14 @@ -307,7 +307,7 @@ static int Open( vlc_object_t* p_this )
15 case LIBSSH2_HOSTKEY_TYPE_DSS:
16 knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_SSHDSS;
18 -#if LIBSSH2_VERSION_NUM >= 0x010801
19 +#if LIBSSH2_VERSION_NUM >= 0x010900
20 case LIBSSH2_HOSTKEY_TYPE_ECDSA_256:
21 knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_ECDSA_256;