summaryrefslogtreecommitdiffstats
path: root/libssh/options.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-10-17 18:10:42 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-10-17 18:10:42 +0200
commit27d25752e93c19d3e6584915bd64b72e43f3afc0 (patch)
tree71a2bdb816c7f885a3d4a21e264f9f7d1bb49fa3 /libssh/options.c
parenta479b302983aae2878af0cb50eac141ede6cd942 (diff)
downloadlibssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.tar.gz
libssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.tar.xz
libssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.zip
Allow use of SSH_DIR/ when expanding key paths
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 868ffa4..46d822f 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -159,7 +159,7 @@ static int ssh_options_set_algo(ssh_session session, int algo,
return 0;
}
-static char *dir_expand_dup(ssh_session session, const char *value, int allowsshdir) {
+char *dir_expand_dup(ssh_session session, const char *value, int allowsshdir) {
char *new;
if (value[0] == '~' && value[1] == '/') {