schannel_verify: do not call infof with an appended \n

Discovered by ZeroPath
Closes #19123
This commit is contained in:
Joshua Rogers 2025-10-19 02:37:18 +08:00 committed by Daniel Stenberg
parent a000444cb0
commit bff9679a01
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -576,7 +576,7 @@ CURLcode Curl_verify_host(struct Curl_cfilter *cf,
conn_hostname, strlen(conn_hostname))) {
infof(data,
"schannel: connection hostname (%s) validated "
"against certificate name (%s)\n",
"against certificate name (%s)",
conn_hostname, cert_hostname);
result = CURLE_OK;
}