ldap: do not pass a \n to failf()

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

View 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 */