Commit f55f95d4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

polarssl: show error code correctly

The value was turned negative when it shouldn't have been
parent 61d31a3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;