From cad9df589b8f4c6d6697101d535f67870902bb9c Mon Sep 17 00:00:00 2001 From: SciLor Date: Thu, 3 Oct 2024 11:20:52 +0000 Subject: [PATCH] only convert boxId/commonName to lower case for dir --- src/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 5a2a6d1b..6a6086d9 100644 --- a/src/settings.c +++ b/src/settings.c @@ -404,8 +404,8 @@ settings_t *get_settings_cn(const char *commonName) settings_get_by_name_id("core.certdir", i)->overlayed = true; const char *certDir = settings_get_string_id("core.certdir", i); + osStringToLower(boxId); char *customCertDir = osAllocMem(osStrlen(boxId) + osStrlen(certDir) + 2); - osStringToLower(customCertDir); osSnprintf(customCertDir, osStrlen(boxId) + osStrlen(certDir) + 2, "%s%c%s", certDir, PATH_SEPARATOR, boxId); settings_set_string_id("core.certdir", customCertDir, i); osFreeMem(customCertDir);