mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
polarssl: show error code correctly
The value was turned negative when it shouldn't have been
This commit is contained in:
parent
61d31a3caf
commit
f55f95d49c
@ -137,7 +137,7 @@ Curl_polarssl_connect(struct connectdata *conn,
|
|||||||
|
|
||||||
if(ret) {
|
if(ret) {
|
||||||
failf(data, "Error reading ca cert file %s: -0x%04X",
|
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)
|
if(data->set.ssl.verifypeer)
|
||||||
return CURLE_SSL_CACERT_BADFILE;
|
return CURLE_SSL_CACERT_BADFILE;
|
||||||
|
Loading…
Reference in New Issue
Block a user