]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: tidy up `OPT_APPLE_SECTRUST` initialization
authorViktor Szakats <commit@vsz.me>
Tue, 16 Jun 2026 18:26:41 +0000 (20:26 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 16 Jun 2026 20:18:43 +0000 (22:18 +0200)
The OS detection variable is not initialized at the time of assigning
its value to `OPT_APPLE_SECTRUST`. Replace the current empty value with
`no`. This keeps existing, desired, behavior.

Closes #22054

configure.ac

index d9331650686948bccf65db655f54342ddc260a18..1752bb10a278c11aa428eec4194e64a80f090161 100644 (file)
@@ -306,7 +306,7 @@ AS_HELP_STRING([--with-rustls=PATH],[where to look for Rustls, PATH points to th
   fi
 ])
 
-OPT_APPLE_SECTRUST=$curl_cv_apple
+OPT_APPLE_SECTRUST=no
 AC_ARG_WITH(apple-sectrust,
 AS_HELP_STRING([--with-apple-sectrust],[enable Apple OS native certificate verification]),[
   OPT_APPLE_SECTRUST=$withval