]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ldap: do not pass a \n to failf()
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sat, 18 Oct 2025 18:00:52 +0000 (02:00 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2025 20:16:33 +0000 (22:16 +0200)
Discovered by ZeroPath
Closes #19122

lib/ldap.c

index 0b475d07bbc438da0db94b6970cff851b254750d..322c870bc248c7ffbac8c49e61d1c083d9d4dfe9 100644 (file)
@@ -461,7 +461,7 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done)
     /* we should probably never come up to here since configure
        should check in first place if we can support LDAP SSL/TLS */
     failf(data, "LDAP local: SSL/TLS not supported with this version "
-          "of the OpenLDAP toolkit\n");
+          "of the OpenLDAP toolkit");
     result = CURLE_SSL_CERTPROBLEM;
     goto quit;
 #endif /* LDAP_OPT_X_TLS */