]> git.ipfire.org Git - thirdparty/curl.git/commit
darwinssl: Avoid parsing certificates when not in verbose mode
authorDaniel Gustafsson <daniel@yesql.se>
Sun, 5 Feb 2017 09:26:07 +0000 (10:26 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 7 Feb 2017 07:39:14 +0000 (02:39 -0500)
commit3509aa8023e394710a30b18d367f3fa0a9e57796
tree3ecf9f2b7351366d7b623001af360171f0e313dd
parent18495ecaccf936a9d7d6c96c08c644ceda83bd00
darwinssl: Avoid parsing certificates when not in verbose mode

The information extracted from the server certificates in step 3 is only
used when in verbose mode, and there is no error handling or validation
performed as that has already been done. Only run the certificate
information extraction when in verbose mode and libcurl was built with
verbose strings.

Closes https://github.com/curl/curl/pull/1246
lib/vtls/darwinssl.c