diff cli-runopts.c @ 1144:624fc24cfae5 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Aug 2015 21:26:03 +0800
parents 36557295418e
children 67d8a904f5a9
line wrap: on
line diff
--- a/cli-runopts.c	Tue Jun 23 21:49:04 2015 +0800
+++ b/cli-runopts.c	Fri Aug 07 21:26:03 2015 +0800
@@ -449,7 +449,7 @@
 
 #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);
 	}