cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 7.34.0 compile fails in OS X 10.5

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 31 Dec 2013 16:55:07 +0100 (CET)

On Mon, 30 Dec 2013, Abram Pousada wrote:

Hi Nick,

Do you have any particklar feedback or insight on this patch ?

> 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
>

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-31