Re: Problems with curl (7.10.8+7.11.0-pre1-1) now in DebianSID

"Steven D'Aprano" <[email protected]> Sun, 14 Mar 2004 12:32:26 +1100
Newsgroups gmane.mail.gotmail
Message-ID <[email protected]>
On Thu, 22 Jan 2004 10:44:10 -0700 paul cannon <[email protected]> wrote:

> On Thu, Jan 22, 2004 at 09:31:57AM -0800, John Fruetel wrote:
> > Is there anyway that gotmail could detect if your bundle is bad?
>
> Probably not reliably, as I believe the curl authors intend the CA
> bundle to be an internal resource, subject to change without notice.
> It would probably be easiest to simply try running curl and detecting
> the error; I would expect curl gives a particular exit code when it
> has bundle problems.

Hmmm... perhaps I'm missing something, but couldn't gotmail detect that=20
exit code from curl as a way of detecting whether the CA bundle is bad?

Then gotmail could return a more useful error message, such as "Your=20
version of curl is out of date. Try getting the latest version from=20
<wherever> and installing it with <command>".

That way, when people write to the gotmail list asking "Hi, when I run=20
gotmail it tells me my version of curl is out of date and I should=20
install the new version, what should I do?" you can wack them with a=20
LART.




--=20
Steven D'Aprano