>-----Original Message----- >From: Joe Orton [mailto:[EMAIL PROTECTED] [SNIP] >Nice! So this is the fix for #26562? Don't forget to update >the comment >before you commit, and it looks like this is a new flag since OpenSSL >0.9.6h so should use a compatibility ifdef: >
Just to make sure this is what you meant :) -Madhu Index: ssl_engine_init.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_init.c,v retrieving revision 1.126 diff -u -r1.126 ssl_engine_init.c --- ssl_engine_init.c 5 Mar 2004 02:44:40 -0000 1.126 +++ ssl_engine_init.c 26 Mar 2004 19:45:50 -0000 @@ -446,11 +446,11 @@ long cache_mode = SSL_SESS_CACHE_OFF; if (mc->nSessionCacheMode != SSL_SCMODE_NONE) { - /* SSL_SESS_CACHE_NO_INTERNAL_LOOKUP will force OpenSSL + /* SSL_SESS_CACHE_NO_INTERNAL will force OpenSSL * to ignore process local-caching and * to always get/set/delete sessions using mod_ssl's callbacks. */ - cache_mode = SSL_SESS_CACHE_SERVER|SSL_SESS_CACHE_NO_INTERNAL_LOOKUP; + cache_mode = SSL_SESS_CACHE_SERVER|SSL_SESS_CACHE_NO_INTERNAL; } SSL_CTX_set_session_cache_mode(ctx, cache_mode); Index: ssl_toolkit_compat.h =================================================================== RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_toolkit_compat.h,v retrieving revision 1.40 diff -u -r1.40 ssl_toolkit_compat.h --- ssl_toolkit_compat.h 9 Feb 2004 20:29:22 -0000 1.40 +++ ssl_toolkit_compat.h 26 Mar 2004 19:45:50 -0000 @@ -223,4 +223,8 @@ SSL_set_verify(ssl, verify, cb) #endif +#ifndef SSL_SESS_CACHE_NO_INTERNAL +#define SSL_SESS_CACHE_NO_INTERNAL SSL_SESS_CACHE_NO_INTERNAL_LOOKUP +#endif + #endif /* SSL_TOOLKIT_COMPAT_H */