https://issues.apache.org/bugzilla/show_bug.cgi?id=57070

Ruediger Pluem <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Ruediger Pluem <[email protected]> ---
Can you please try the following patch?

Index: ssl_engine_vars.c
===================================================================
--- ssl_engine_vars.c   (revision 1630015)
+++ ssl_engine_vars.c   (working copy)
@@ -73,7 +73,9 @@
 static const char *expr_var_fn(ap_expr_eval_ctx_t *ctx, const void *data)
 {
     char *var = (char *)data;
-    return ssl_var_lookup_ssl(ctx->p, ctx->c, ctx->r, var);
+    SSLConnRec *sslconn = myConnConfig(ctx->c);
+
+    return sslconn ? ssl_var_lookup_ssl(ctx->p, ctx->c, ctx->r, var) : "";
 }

 static int ssl_expr_lookup(ap_expr_lookup_parms *parms)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to