2014-08-16 21:14:54 +00:00
|
|
|
--- src/conf.c.orig 2014-08-07 23:37:03.000000000 -0700
|
|
|
|
+++ src/conf.c 2014-08-14 11:47:27.000000000 -0700
|
|
|
|
@@ -89,23 +89,23 @@
|
|
|
|
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:
|