polarssl: show error code correctly

The value was turned negative when it shouldn't have been
This commit is contained in:
Daniel Stenberg 2012-01-18 23:19:01 +01:00
parent 61d31a3caf
commit f55f95d49c

View File

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