← Commit list

cd238bb7ad

Daniel Stenberg
Daniel Stenberg
2026-08-12
SUCCESS Duration: 452s

Subject

tool_operate: only check for schannel if on windows

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

src/tool_operate.c+9 -0
@@ -2168,6 +2168,7 @@ static CURLcode serial_transfers(CURLSH *share)
return result;
}
+#ifdef _WIN32
static CURLcode is_using_schannel(int *pusing)
{
CURLcode result = CURLE_OK;
@@ -2195,6 +2196,14 @@ static CURLcode is_using_schannel(int *pusing)
*pusing = using_schannel;
return result;
}
+#else
+/* on non-Windows it can never use Schannel */
+static CURLcode is_using_schannel(int *pusing)
+{
+ *pusing = 0; /* never */
+ return CURLE_OK;
+}
+#endif
/* Set the CA cert locations specified in the environment. For Windows if no
* environment-specified filename is found then check for CA bundle default