OK,

Although I haven't got any response to my previous mail, I'll dare to
share my code with you anyway (just in case somebody finds it useful).

Diffs for modified .c and .h files are attached.
All modifications are under #ifdef USE_CURL (or #ifndef USE_CURL), so
essentially you can decide at compilation time whether you wish to use
the native HTTP protocol implementation or CURL library (for HTTP and
HTTPS).

I'm not very familiar with the automake suite, so I manually added CURL
library path and USE_CURL #define to the generated Makefile. But since
it's not a proper hack, I'm not attaching it to this mail...

Regards,
    Alex


-----Original Message-----
From: Alex Agranov 
Sent: Sunday, October 28, 2007 15:48
To: 'openca-devel@lists.sourceforge.net'
Subject: HTTPS support for OCSPD

Hi,

I did a small change to the OCSPD v1.5.1rc1 source code that replaces
built-in HTTP protocol implementation by a cURL library. Major purpose
for this change - support of HTTPS protocol as well as authentication
support for HTTP. I checked the modified code in my environment and it
seems to work nicely.

Would anybody be interested in this change?
Cheers,
   Alex Agranov

   Software Architect
   AudioCodes Ltd.

Attachment: support.c.diff
Description: support.c.diff

Attachment: general.h.diff
Description: general.h.diff

Attachment: hash-db.c.diff
Description: hash-db.c.diff

Attachment: http_client.c.diff
Description: http_client.c.diff

Attachment: http_client.h.diff
Description: http_client.h.diff

Attachment: ocspd.c.diff
Description: ocspd.c.diff

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to