diff --git a/src/Cedar/Protocol.c b/src/Cedar/Protocol.c index fce8b428..773ef9a4 100644 --- a/src/Cedar/Protocol.c +++ b/src/Cedar/Protocol.c @@ -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"); diff --git a/src/Mayaqua/Network.c b/src/Mayaqua/Network.c index 6e5bddaf..9649ff0c 100644 --- a/src/Mayaqua/Network.c +++ b/src/Mayaqua/Network.c @@ -11697,7 +11697,7 @@ void AddChainSslCertOnDirectory(struct ssl_ctx_st *ctx) o = NewListFast(NULL); - GetExeDirW(exedir, sizeof(exedir)); + GetDbDirW(exedir, sizeof(exedir)); CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");