aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-05-28 10:46:50 +0200
committerAndreas Schneider <asn@cynapses.org>2010-05-28 10:46:50 +0200
commita59e65336dc6958043504e6d7b81509edde61640 (patch)
tree41af4237e71b8db905786c1867416a586b6e6f94 /libssh
parent55ef7bc0123ca896fedd968605ed79f56e3175c7 (diff)
downloadlibssh-a59e65336dc6958043504e6d7b81509edde61640.tar.gz
libssh-a59e65336dc6958043504e6d7b81509edde61640.tar.xz
libssh-a59e65336dc6958043504e6d7b81509edde61640.zip
session: Fixed setting up default identity files.
Diffstat (limited to 'libssh')
-rw-r--r--libssh/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/session.c b/libssh/session.c
index 8bc9740..65175e3 100644
--- a/libssh/session.c
+++ b/libssh/session.c
@@ -112,7 +112,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/id_rsa");
+ id = strdup("%d/id_rsa");
if (id == NULL) {
goto err;
}
@@ -121,7 +121,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/id_dsa");
+ id = strdup("%d/id_dsa");
if (id == NULL) {
goto err;
}
@@ -130,7 +130,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/identity");
+ id = strdup("%d/identity");
if (id == NULL) {
goto err;
}