I just tried to fix PR37791. Although trunk is CTR I do not want to commit 
something completely stupid :-).
So please a quick remote eye by some SSL guy. To me it does not seem to make 
sense to continue
ssl_hook_Access if ssl is still NULL at this stage of the code.

Regards

RĂ¼diger
Index: modules/ssl/ssl_engine_kernel.c
===================================================================
--- modules/ssl/ssl_engine_kernel.c     (Revision 354171)
+++ modules/ssl/ssl_engine_kernel.c     (Arbeitskopie)
@@ -204,7 +204,9 @@
     /*
      * Check to see if SSL protocol is on
      */
-    if (!((sc->enabled == SSL_ENABLED_TRUE) || (sc->enabled == 
SSL_ENABLED_OPTIONAL) || ssl)) {
+    if (!(((sc->enabled == SSL_ENABLED_TRUE)
+            || (sc->enabled == SSL_ENABLED_OPTIONAL))
+           && ssl)) {
         return DECLINED;
     }
     /*

Reply via email to