projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2ad57
)
oops, only negative numbers are errors
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 13 Apr 2005 21:17:05 +0000
(21:17 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 13 Apr 2005 21:17:05 +0000
(21:17 +0000)
lib/gtls.c
patch
|
blob
|
history
diff --git
a/lib/gtls.c
b/lib/gtls.c
index
0ec101c
..
fff5d5e
100644
(file)
--- a/
lib/gtls.c
+++ b/
lib/gtls.c
@@
-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));
}
}