mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-23 11:26:16 +00:00
@@ -157,6 +157,11 @@ void get_defaults(char *filename, struct udata *ud)
|
||||
ud->clientid = (value) ? strdup(value) : NULL;
|
||||
}
|
||||
|
||||
if (config_lookup_string(cf, "OTR_CAPATH", &value) != CONFIG_FALSE) {
|
||||
if (ud->capath) free(ud->capath);
|
||||
ud->capath = (value) ? strdup(value) : NULL;
|
||||
}
|
||||
|
||||
if (config_lookup_string(cf, "OTR_CAFILE", &value) != CONFIG_FALSE) {
|
||||
if (ud->cafile) free(ud->cafile);
|
||||
ud->cafile = (value) ? strdup(value) : NULL;
|
||||
|
||||
Reference in New Issue
Block a user