Skip to content

Curl_ossl_check_peer_cert always reports error #19615

@ncaklovic

Description

@ncaklovic

I did this

When SSL_get_verify_result() fails in Curl_ossl_check_peer_cert() it always reports error ("SSL certificate OpenSSL verify result: ...")

I expected the following

In previous versions failf() call was under if (strict) so it was not shown always (changed under commit support Apple SecTrust configurations).

See the code in 8.16 compared to 8.17.

I guesss adding if (strict) back should be enough to return expected default behavior.

curl/libcurl version

8.17.0

operating system

Windows 11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions