diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-10-21 11:32:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-10-21 11:32:05 +0000 |
commit | 4e717cdb300adeff3b259b3619b29a944c2960a8 (patch) | |
tree | fd732f563641810d5009fe9b2dda55842a24d2ad /lib/ssluse.c | |
parent | 33acd6f041ad3f31a985da1cf54668d0e619535d (diff) | |
download | curl-4e717cdb300adeff3b259b3619b29a944c2960a8.tar.gz |
Armel Asselin separated CA cert verification problems from problems with
reading the (local) CA cert file to let users easier pinpoint the actual
problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 2d6a6fed6..28c2ef62b 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1272,7 +1272,7 @@ Curl_ossl_connect_step1(struct connectdata *conn, " CAfile: %s\n CApath: %s\n", data->set.ssl.CAfile ? data->set.ssl.CAfile : "none", data->set.ssl.CApath ? data->set.ssl.CApath : "none"); - return CURLE_SSL_CACERT; + return CURLE_SSL_CACERT_BADFILE; } else { /* Just continue with a warning if no strict certificate verification |