X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fconf.c;h=b29c3db53f61fdd0e85c25c29542688549ccef5b;hb=697d68393a174877c2f7743193e229076ddd44e9;hp=2ec69a5a570eb7ca93dc95c86daf5ce82ad07f20;hpb=36601a5de5f90e16188deadd271b70595b4cc237;p=umurmur.git diff --git a/src/conf.c b/src/conf.c index 2ec69a5..b29c3db 100644 --- a/src/conf.c +++ b/src/conf.c @@ -108,6 +108,17 @@ const char *getStrConf(param_t param) return "/etc/umurmur/private_key.key"; } break; + case CAPATH: + setting = config_lookup(&configuration, "ca_path"); + if (!setting) + return NULL; + else { + if ((strsetting = config_setting_get_string(setting)) != NULL) + return strsetting; + else + return NULL; + } + break; case PASSPHRASE: setting = config_lookup(&configuration, "password"); if (!setting)