curl-library
7.34.0 compile fails in OS X 10.5
Date: Mon, 30 Dec 2013 22:59:17 +0000
In curl_darwinssl.c, errSecDecode is referenced, but is only defined with OS X 10.6 or later. This caused 7.34.0 to fail to compile on 10.5, and was simple to patch using a literal value as done with other error codes.
--- curl_darwinssl.c Mon Dec 16 17:02:35 2013
+++ curl_darwinssl.mine.c Mon Dec 30 17:53:42 2013
@@ -1256,7 +1256,7 @@ static CURLcode darwinssl_connect_step1(struct con
failf(data, "SSL: Incorrect password for the certificate \"%s\" "
"and its private key.", data->set.str[STRING_CERT]);
break;
- case errSecDecode: case -25257: /* errSecUnknownFormat */
+ case -26275: /*errSecDecode*/ case -25257: /* errSecUnknownFormat */
failf(data, "SSL: Couldn't make sense of the data in the "
"certificate \"%s\" and its private key.",
data->set.str[STRING_CERT]);
Thanks!
-Abe
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-31