tidy-up: miscellaneous

- cmake/Find*: make double quotes consistent.
- drop redundant parenthesis.
- GHA/checksrc: sync a step name with others.
- whitespace.

Closes #19233
This commit is contained in:
Viktor Szakats 2025-10-07 12:49:02 +02:00
parent 543b78652a
commit 71d1eec675
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
12 changed files with 31 additions and 31 deletions

View file

@ -399,8 +399,8 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done)
#ifdef LDAP_OPT_X_TLS
if(conn->ssl_config.verifypeer) {
/* OpenLDAP SDK supports BASE64 files. */
if((data->set.ssl.cert_type) &&
(!curl_strequal(data->set.ssl.cert_type, "PEM"))) {
if(data->set.ssl.cert_type &&
!curl_strequal(data->set.ssl.cert_type, "PEM")) {
failf(data, "LDAP local: ERROR OpenLDAP only supports PEM cert-type");
result = CURLE_SSL_CERTPROBLEM;
goto quit;