put chain_certs in dbdir

This commit is contained in:
Koichiro IWAO committed 2019-12-04 23:59:13 +09:00
1 parent a69c4980d5
commit b1aae5080d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ bool TryGetRootCertChain(LIST *o, X *x, bool auto_save, X **found_root_x)
wchar_t dirname[MAX_SIZE];
wchar_t exedir[MAX_SIZE];
GetExeDirW(exedir, sizeof(exedir));
GetDbDirW(exedir, sizeof(exedir));
CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");
MakeDirExW(dirname);
@@ -363,7 +363,7 @@ void AddAllChainCertsToCertList(LIST *o)
return;
}
GetExeDirW(exedir, sizeof(exedir));
GetDbDirW(exedir, sizeof(exedir));
CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");