cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: curl problem with -k option on win32

From: Jochen Roderburg <Roderburg_at_uni-koeln.de>
Date: Fri, 14 Jan 2005 23:41:40 +0100

As I wasn't able do actually debug the crashes, I poked around a little in the
source and I think I found something.
I looked what happens when you set the -k option, and I found something that
*does not happen*, namely it doesn't look for the location of the cacert file
in the Windows version.
The Linux version has a default location for this file compiled in, but the
windows version has not. The internal variable for the name seems to stay
uninitialised in this case.

An indeed, it does not crash and works as expected, when you call it with a
cacert parameter, as in

curl --cacert anystring -k URL

The rest are various speculations now on my side: Maybe the variable with the
cacert file name is still used somewhere when the -k option is set. Maybe it
happened to be set to something harmless in the older Windows binaries and now
to something which causes a crash.

Regards, J.Roderburg
Received on 2005-01-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET