]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: two comments
authorViktor Szakats <commit@vsz.me>
Sat, 14 Jun 2025 23:21:14 +0000 (01:21 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 15 Jun 2025 11:32:24 +0000 (13:32 +0200)
Follow-up to 2c27a67daa1b76859c18d63e4e1f528db05b5e13 #17590
Follow-up to df1ff17f88a623b12c13ffd893ca4ac47c5f04d1 #17418

Closes #17624

CMakeLists.txt
lib/vtls/schannel_verify.c

index 2d9291009c72e362feccb779ce84b60dec294614..582222a7be8b9c495760382eb2e93db317089c11 100644 (file)
@@ -290,7 +290,7 @@ endif()
 option(CURL_CLANG_TIDY "Run the build through clang-tidy" OFF)
 if(CURL_CLANG_TIDY)
   # clang-tidy is not looking into #included sources, thus not compatible with
-  # unity builds and test bundles.
+  # unity builds. Make test bundles compatible by embedding the source code.
   set(CMAKE_UNITY_BUILD OFF)
   set(CURL_MK_UNITY_OPTION "--embed")
   set(_tidy_checks "")
index 6634cb7883518d66a261a8dcb419d327e5f8d2aa..7db13f2a25129d5be405fffd7f708e4b7822b054 100644 (file)
@@ -94,8 +94,8 @@ struct cert_chain_engine_config_win8 {
   DWORD dwExclusiveFlags;
 };
 
+/* Not defined before mingw-w64 4.0.0 */
 #ifndef CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG
-/* Not defined for any MINGW build */
 #define CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG 0x00000001
 #endif
 
@@ -115,7 +115,6 @@ struct cert_chain_engine_config_win7 {
   HCERTSTORE hExclusiveTrustedPeople;
 };
 
-
 #ifndef UNDER_CE
 static int is_cr_or_lf(char c)
 {