From: Joshua Rogers Date: Sat, 18 Oct 2025 18:00:52 +0000 (+0800) Subject: ldap: do not pass a \n to failf() X-Git-Tag: rc-8_17_0-2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9021e42c0274853d8166d7ec616212f148a8dc07;p=thirdparty%2Fcurl.git ldap: do not pass a \n to failf() Discovered by ZeroPath Closes #19122 --- diff --git a/lib/ldap.c b/lib/ldap.c index 0b475d07bb..322c870bc2 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -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 */