From b240440012a93011a829af6d3139c8145efb2524 Mon Sep 17 00:00:00 2001 From: SciLor Date: Sun, 13 Aug 2023 18:11:03 +0000 Subject: [PATCH] Fix overlay boxName prefix + certs into overlay --- src/settings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 942636b9..d086c07f 100644 --- a/src/settings.c +++ b/src/settings.c @@ -252,7 +252,9 @@ settings_t *get_settings_cn(const char *commonName) settings_set_string_id("commonName", boxId, i); settings_set_string_id("internal.overlayUniqueId", boxId, i); - settings_set_string_id("boxName", commonName, i); + settings_set_string_id("boxName", boxName, i); + settings_get_by_name_id("core.client_cert.file.crt", i)->overlayed = true; + settings_get_by_name_id("core.client_cert.file.key", i)->overlayed = true; Settings_Overlay[i].internal.config_used = true; settings_save_ovl(true); mutex_unlock(MUTEX_SETTINGS_CN);