Add support for --cacert in DarwinSSL.
authorVilmos Nebehaj <v.nebehaj@gmail.com>
Thu, 17 Apr 2014 14:03:05 +0000 (07:03 -0700)
committerNick Zitzmann <nickzman@gmail.com>
Wed, 21 May 2014 23:48:14 +0000 (18:48 -0500)
commitcd2cedf002a7639fbb6295a2f9838bc99d4a0bf7
treed5018777c241a4ae26ef9455fe01569df14bef87
parentc6d5f80d8b6ec795a3f88833d6f7c471fe8f2b4c
Add support for --cacert in DarwinSSL.

Security Framework on OS X makes it possible to supply extra anchor (CA)
certificates via the Certificate, Key, and Trust Services API. This
commit makes the '--cacert' option work using this API.

More information:

https://developer.apple.com/library/mac/documentation/security/Reference/certifkeytrustservices/Reference/reference.html

The HTTPS tests now pass on OS X except 314, which requires the '--crl'
option to work.
lib/vtls/curl_darwinssl.c