aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorNick Zitzmann <nickzman@gmail.com>2014-01-09 17:53:29 -0600
committerNick Zitzmann <nickzman@gmail.com>2014-01-09 17:53:29 -0600
commit21aa79f46399c39c1c64b9f53270cb41aa310f17 (patch)
treed4b8b87e19950825e7ea39e720bba5f0badc9f62 /lib/vtls
parent28933f9d304657ab8341380d00f9ecbe86cb9e6f (diff)
darwinssl: un-break Leopard build after PKCS#12 change
It turns out errSecDecode wasn't defined in Leopard's headers. So we use the enum's value instead. Bug: http://curl.haxx.se/mail/lib-2013-12/0150.html Reported by: Abram Pousada
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/curl_darwinssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/curl_darwinssl.c b/lib/vtls/curl_darwinssl.c
index 22514b6c7..b3bc4da7a 100644
--- a/lib/vtls/curl_darwinssl.c
+++ b/lib/vtls/curl_darwinssl.c
@@ -1256,7 +1256,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,
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]);