File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2063,10 +2063,7 @@ add_option("WOLFSSL_SYS_CA_CERTS"
20632063 "yes" "yes;no" )
20642064
20652065if (WOLFSSL_SYS_CA_CERTS)
2066- if (NOT WOLFSSL_FILESYSTEM)
2067- message ("Can't enable system CA certs without a filesystem." )
2068- override_cache(WOLFSSL_SYS_CA_CERTS "no" )
2069- elseif (APPLE )
2066+ if (APPLE )
20702067 # Headers used for MacOS default system CA certs behavior. Only MacOS SDK will have this header
20712068 check_include_file("Security/SecTrustSettings.h" HAVE_SECURITY_SECTRUSTSETTINGS_H)
20722069 # Headers used for Apple native cert validation. All device SDKs should have these headers
@@ -2100,6 +2097,9 @@ if(WOLFSSL_SYS_CA_CERTS)
21002097 else ()
21012098 message (FATAL_ERROR "Can't enable system CA certs without Apple Security.framework headers." )
21022099 endif ()
2100+ elseif (NOT WIN32 AND NOT WOLFSSL_FILESYSTEM)
2101+ message ("Can't enable system CA certs without a filesystem." )
2102+ override_cache(WOLFSSL_SYS_CA_CERTS "no" )
21032103 endif ()
21042104
21052105
You can’t perform that action at this time.
0 commit comments