curl-library
Re: Peer review! SecureTransport (native SSL on iOS/OS X) patch
From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 25 Jun 2012 19:57:20 -0600
Date: Mon, 25 Jun 2012 19:57:20 -0600
On Jun 25, 2012, at 6:54 PM, Tim Bannister wrote:
> On 26 Jun 2012, at 01:44, Nick Zitzmann wrote:
>
>> So all I need now is a method of sharing a trust in the form of a SecTrustRef with the outside of the library and then this is done...
>
> Would a callback make sense?
Not really. Having a function get called when an error occurs is a little strange, don't you think? Besides, it makes more sense to me to react to a certificate failure error being reported as a return code...
Nick Zitzmann
<http://www.chronosnet.com/>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-26