[vlc-commits] sftp: fix version for ECDSA known hosts (fixes #22060)
Rémi Denis-Courmont
git at videolan.org
Wed Mar 20 12:10:44 CET 2019
vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 20 05:20:30 2019 +0200| [db381f6edeac9d70b7545a72bc2840f42266d655] | committer: Konstantin Pavlov
sftp: fix version for ECDSA known hosts (fixes #22060)
1.8.x is a stable branch, separate from the feature branch that contains
the ECDSA support.
(cherry picked from commit 11449b5cd8b415768e010d9b7c1d6ba3cea21f82)
Signed-off-by: Konstantin Pavlov <thresh at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=db381f6edeac9d70b7545a72bc2840f42266d655
---
modules/access/sftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index 5bc054d310..6ea58654ed 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -306,7 +306,7 @@ static int Open( vlc_object_t* p_this )
case LIBSSH2_HOSTKEY_TYPE_DSS:
knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_SSHDSS;
break;
-#if LIBSSH2_VERSION_NUM >= 0x010801
+#if LIBSSH2_VERSION_NUM >= 0x010900
case LIBSSH2_HOSTKEY_TYPE_ECDSA_256:
knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_ECDSA_256;
break;
More information about the vlc-commits
mailing list