2011-12-29 22:02:54 +00:00
|
|
|
--- src/conf.c.old 2011-12-04 19:11:54.718388035 +0200
|
|
|
|
+++ src/conf.c 2011-12-04 19:13:08.845299535 +0200
|
|
|
|
@@ -87,23 +87,23 @@
|
2011-06-26 07:17:01 +00:00
|
|
|
case CERTIFICATE:
|
|
|
|
setting = config_lookup(&configuration, "certificate");
|
|
|
|
if (!setting)
|
|
|
|
- return "/etc/umurmur/certificate.crt";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
2011-06-26 07:17:01 +00:00
|
|
|
else {
|
|
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
|
|
return strsetting;
|
|
|
|
else
|
|
|
|
- return "/etc/umurmur/certificate.crt";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
2011-06-26 07:17:01 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case KEY:
|
|
|
|
setting = config_lookup(&configuration, "private_key");
|
|
|
|
if (!setting)
|
|
|
|
- return "/etc/umurmur/private_key.key";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
2011-06-26 07:17:01 +00:00
|
|
|
else {
|
|
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
|
|
return strsetting;
|
|
|
|
else
|
|
|
|
- return "/etc/umurmur/private_key.key";
|
2011-12-29 22:02:54 +00:00
|
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
2011-06-26 07:17:01 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case PASSPHRASE:
|