Bugs item #1662020, was opened at 2007-02-16 15:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1662020&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ian Turner (vectro)
Assigned to: Daniel Stenberg (bagder)
Summary: curl_easy_reset clears CAfile
Initial Comment:
Calling curl_easy_reset clears CAfile, even if curl has a built-in default. The code is there to reset it correctly (at line 654 of curl-7.15.1/lib/easy.c), but because ca-bundle.h is not included in easy.c, the test fails and the CAfile option is left blank.
Applying this patch should fix the issue:
--- bad-easy.c 2007-02-16 18:34:54.000000000 -0500
+++ easy.c 2007-02-16 18:35:13.000000000 -0500
@@ -83,6 +83,7 @@
#include "memory.h"
#include "progress.h"
#include "easyif.h"
+#include "ca-bundle.h"
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1662020&group_id=976
Received on 2007-02-17