]> git.pld-linux.org Git - packages/vlc.git/blob - libssh2.patch
- fix building with libssh2 1.8
[packages/vlc.git] / libssh2.patch
1 commit 11449b5cd8b415768e010d9b7c1d6ba3cea21f82
2 Author: RĂ©mi Denis-Courmont <remi@remlab.net>
3 Date:   Wed Mar 20 05:20:30 2019 +0200
4
5     sftp: fix version for ECDSA known hosts (fixes #22060)
6     
7     1.8.x is a stable branch, separate from the feature branch that contains
8     the ECDSA support.
9
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;
17              break;
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;
22              break;
This page took 0.029297 seconds and 3 git commands to generate.