aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-01-18 23:19:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-01-18 23:19:01 +0100
commitf55f95d49ce2d18beb519b0befbf4710d66cf51d (patch)
treef333b19fa44d7fd794551d31115a37c179a5c2f1 /lib
parent61d31a3caf8bced6d142c43b10e0887af744f50c (diff)
polarssl: show error code correctly
The value was turned negative when it shouldn't have been
Diffstat (limited to 'lib')
-rw-r--r--lib/polarssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polarssl.c b/lib/polarssl.c
index 89da87fcd..07c0bf436 100644
--- a/lib/polarssl.c
+++ b/lib/polarssl.c
@@ -137,7 +137,7 @@ Curl_polarssl_connect(struct connectdata *conn,
if(ret) {
failf(data, "Error reading ca cert file %s: -0x%04X",
- data->set.str[STRING_SSL_CAFILE], -ret);
+ data->set.str[STRING_SSL_CAFILE], ret);
if(data->set.ssl.verifypeer)
return CURLE_SSL_CACERT_BADFILE;