From: Alex A. <Ale...@au...> - 2007-11-21 09:17:47
|
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=20 Sent: Sunday, October 28, 2007 15:48 To: 'ope...@li...' 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. |