1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

session: Do not search for RSA1 keys in ~/.ssh/identity

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2018-07-02 16:38:16 +02:00
committed by Andreas Schneider
parent ed738bee34
commit e1d2454dd7

View File

@@ -151,15 +151,6 @@ ssh_session ssh_new(void) {
}
#endif
id = strdup("%d/identity");
if (id == NULL) {
goto err;
}
rc = ssh_list_append(session->opts.identity, id);
if (rc == SSH_ERROR) {
goto err;
}
return session;
err: