2016-07-26 16:51:15 +00:00
|
|
|
--- src/conf.c.orig 2015-04-07 10:01:12 UTC
|
|
|
|
+++ src/conf.c
|
|
|
|
@@ -89,23 +89,23 @@ const char *getStrConf(param_t param)
|
2014-08-16 21:14:54 +00:00
|
|
|
case CERTIFICATE:
|
|
|
|
setting = config_lookup(&configuration, "certificate");
|
|
|
|
if (!setting)
|
2011-06-26 07:17:01 +00:00
|
|
|
- return "/etc/umurmur/certificate.crt";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
2014-08-16 21:14:54 +00:00
|
|
|
else {
|
|
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
|
|
return strsetting;
|
|
|
|
else
|
|
|
|
- return "/etc/umurmur/certificate.crt";
|
|
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case KEY:
|
|
|
|
setting = config_lookup(&configuration, "private_key");
|
|
|
|
if (!setting)
|
2011-06-26 07:17:01 +00:00
|
|
|
- return "/etc/umurmur/private_key.key";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
2014-08-16 21:14:54 +00:00
|
|
|
else {
|
|
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
|
|
return strsetting;
|
|
|
|
else
|
|
|
|
- return "/etc/umurmur/private_key.key";
|
|
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case CAPATH:
|