cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: --with-darwinssl on iOS ?

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Tue, 9 Apr 2013 09:51:08 -0600

On Apr 9, 2013, at 1:54 AM, Paul Joyce <pjoyce_at_we-do-it.com> wrote:

> curl version: 7.28.0
[…]
> It says HTTPS is in the list, so configure was happy enough.
>
> When I attempt to compile, I get an error
> …./curl-7.28.0/lib/curl_darwinssl.c:905:6: Use of undeclared identifier 'SecTrustEvaluateAsync'; did you mean 'SecTrustEvaluate'?
[…]
> My question is can I get this to compile on iOS? The source says
> #if defined(__MAC_10_7) || defined(__IPHONE_5_0)
> so it seems to think it can compile on iOS.

This is a known bug in 7.28.0 that was fixed in the very next release. 7.28.1 and later will build just fine on iOS.

Actually, if you're using libcurl in an iOS application, you might want to wait for the next release, 7.30.0, which is coming real soon now (like today or tomorrow). It has an important Secure Transport sending bug fix, and has slightly improved security, since I removed support for insecure ciphers like NULL/anonymous/IDEA/DES.

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 2013-04-09