curl-library
Re: splitting CURLE_SSL_CACERT error cases (Re: regarding https andlibcurl)
From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Sun, 8 Oct 2006 15:28:21 +0200
Date: Sun, 8 Oct 2006 15:28:21 +0200
> On Sun, 8 Oct 2006, Armel Asselin wrote:
>
>> CURLE_SSL_CACERT_MISSING: missing CACERT file
>> CURLE_SSL_CACERT_INVALID: file present but invalid
>> CURLE_SSL_CACERT: target SSL certificate not acceptable
>
> I don't think the middle one is possible to return, but it would be
> possible to at least attempt to separate a missing file from a failed
> verification.
ok, cool so we could have CURLE_SSL_CACERT_BADFILE (missing or bad file) in
addition to CURLE_SSL_CACERT?
[the user can easily check for presence of the file, or file access denied
errors...]
for a 'new error patch', there are stuff in : curl.h, the doc, curl error
text function, plus the places were it is returned, isn't it?
Armel
Received on 2006-10-08