From 27d25752e93c19d3e6584915bd64b72e43f3afc0 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 17 Oct 2009 18:10:42 +0200 Subject: Allow use of SSH_DIR/ when expanding key paths --- libssh/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/options.c') 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] == '/') { -- cgit