summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-08-03 20:45:04 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-08-03 20:45:04 +0800
commit941c067765fce8d8f9cf73bc77ffc4b8791395c0 (patch)
tree98521fb8db5ca97f5bdb6ebb4a47e98dce0d6468 /cli-runopts.c
parent839e023ed88e7c8c42b8ea8bb9e11ffd46668d9c (diff)
change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedir
rather than doing ~ expansion
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 5bd4c55..58b64ce 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -449,7 +449,7 @@ void cli_getopts(int argc, char ** argv) {
#if defined(DROPBEAR_DEFAULT_CLI_AUTHKEY) && defined(ENABLE_CLI_PUBKEY_AUTH)
{
- char *expand_path = expand_tilde(DROPBEAR_DEFAULT_CLI_AUTHKEY);
+ char *expand_path = expand_homedir_path(DROPBEAR_DEFAULT_CLI_AUTHKEY);
loadidentityfile(expand_path, 0);
m_free(expand_path);
}