]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
schannel_verify: do not call infof with an appended \n
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sat, 18 Oct 2025 18:37:18 +0000 (02:37 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2025 20:15:26 +0000 (22:15 +0200)
Discovered by ZeroPath
Closes #19123

lib/vtls/schannel_verify.c

index d72790e9df57253b3fbd3c9ed4c485ee3a78f7f5..a5084944846fc59a9cdbbab9257ade6f0ed587a2 100644 (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;
       }