darwinssl: fix crash that started happening in Lion
authorNick Zitzmann <nickzman@gmail.com>
Sat, 22 Jun 2013 21:13:36 +0000 (15:13 -0600)
committerNick Zitzmann <nickzman@gmail.com>
Sat, 22 Jun 2013 21:13:36 +0000 (15:13 -0600)
commitf3052c8a819711d9193e4a1e9b23f2c76be58f74
treefcc9c52f2d62f333861073fe518e641bb02dca5e
parent631e3e13a90eb7124d43310c3452948fba6c6136
darwinssl: fix crash that started happening in Lion

Something (a recent security update maybe?) changed in Lion, and now it
has changed SSLCopyPeerTrust such that it may return noErr but also give
us a null trust, which caught us off guard and caused an eventual crash.
lib/curl_darwinssl.c