summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/windows/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/windows/main.c b/frontends/windows/main.c
index 2dd403edb..eb0a8661e 100644
--- a/frontends/windows/main.c
+++ b/frontends/windows/main.c
@@ -190,6 +190,11 @@ static nserror set_defaults(struct nsoption_s *defaults)
&ptr);
if (res_len > 0) {
nsoption_setnull_charp(ca_bundle, strdup(buf));
+ } else {
+ ptr = filepath_sfind(G_resource_pathv, buf, "ca-bundle.crt");
+ if (ptr != NULL) {
+ nsoption_setnull_charp(ca_bundle, strdup(buf));
+ }
}