summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-25 11:12:24 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-25 11:12:24 -0700
commitd75d2841dcf33329544fdc6e697f2402d55226d6 (patch)
tree3dc188171a86cade68951fd82ce3951122bf3199 /include
parent99948a254e2c2352547b962cbd1c23738e7af6b3 (diff)
downloadalpine-d75d2841dcf33329544fdc6e697f2402d55226d6.tar.xz
* New variable system-certs-path that allows users to indicate the
location of the directory where folders are located. In PC-Alpine this must be C:\libressl\ssl\certs. The C: drive can be replaced by the name of the drive where the binary and DLL files are located.
Diffstat (limited to 'include')
-rw-r--r--include/config.h.in3
-rw-r--r--include/config.wnt.h9
2 files changed, 10 insertions, 2 deletions
diff --git a/include/config.h.in b/include/config.h.in
index 19d7b34d..6a13eefe 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -42,6 +42,9 @@
/* Default configuration value */
#undef DEFAULT_SAVE
+/* Directory where system certificates are located */
+#undef DEFAULT_SSLCAPATH
+
/* Default configuration value */
#undef DF_AB_SORT_RULE
diff --git a/include/config.wnt.h b/include/config.wnt.h
index ed5de154..65f14725 100644
--- a/include/config.wnt.h
+++ b/include/config.wnt.h
@@ -557,10 +557,15 @@
/* Name of default certificate authority container */
#define DF_CA_CONTAINER "CAContainer"
-//#else
-#undef DF_ENCRYPTION_RANGE
+#else
#endif /* ENABLE_WINDOWS_LIBRESSL */
+#if !defined(ENABLE_WINDOWS_LIBRESSL) || !defined(W32BITSBUILD)
+#undef DF_ENCRYPTION_RANGE
+#else
+#define DEFAULT_SSLCAPATH "C:\\libressl\\ssl\\certs"
+#endif
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #define TIME_WITH_SYS_TIME */