mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:37:15 +03:00
oops, only negative numbers are errors
This commit is contained in:
parent
ec2ad57c32
commit
e9d068b913
1 changed files with 2 additions and 2 deletions
|
|
@ -154,8 +154,8 @@ Curl_gtls_connect(struct connectdata *conn,
|
|||
rc = gnutls_certificate_set_x509_trust_file(conn->ssl[sockindex].cred,
|
||||
data->set.ssl.CAfile,
|
||||
GNUTLS_X509_FMT_PEM);
|
||||
if(rc) {
|
||||
infof(data, "error reading ca cert file %s (%s)",
|
||||
if(rc < 0) {
|
||||
infof(data, "error reading ca cert file %s (%s)\n",
|
||||
data->set.ssl.CAfile, gnutls_strerror(rc));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue