Skip to content

Commit 981cead

Browse files
committed
keygen: replace hardcoded path with sysconf(sub)dir
1 parent 75736f4 commit 981cead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keygen/keygen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ key_gen(const char *path_and_file_name)
463463
static int
464464
key_gen_auto(void)
465465
{
466-
return key_gen("/etc/xrdp/rsakeys.ini");
466+
return key_gen(XRDP_CFG_PATH "/rsakeys.ini");
467467
}
468468

469469
/*****************************************************************************/

0 commit comments

Comments
 (0)