bagder/curl — pull request #68 by keithduncan (2013-05-29 09:16:28+00:00)
Title: Copy the darwinssl SSLContext peer trust into the PureInfo struct

When `CURLE_SSL_CACERT` is returned callers can extract `CURLINFO_SSL_TRUST` to get the `SecTrustRef` suitable for presenting to the user and modifying the keychain trust settings.

I saw Nick Ziztmann discuss adding a new info selector in but don’t think this code was ever published.