Add id_ed25519 to the default identity list

Signed-off-by: Kohei Suzuki <eagletmt@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit c092101e01)
This commit is contained in:
Kohei Suzuki
2016-01-16 18:52:05 +09:00
committed by Andreas Schneider
parent 0bf78b0b8b
commit 8360139506

View File

@@ -115,6 +115,15 @@ ssh_session ssh_new(void) {
goto err;
}
id = strdup("%d/id_ed25519");
if (id == NULL) {
goto err;
}
rc = ssh_list_append(session->opts.identity, id);
if (rc == SSH_ERROR) {
goto err;
}
#ifdef HAVE_ECC
id = strdup("%d/id_ecdsa");
if (id == NULL) {