Skip to content
Snippets Groups Projects
Commit 11449b5c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

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.
parent c207fa91
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment