From ab1523a7215c9b1f147c4735776ef2764ca94272 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Mon, 15 Dec 2014 14:57:52 +0000 Subject: [PATCH] * Return NULL instead of an empty string as ssl_var_lookup_ssl does by default. Thanks for the pointer Christophe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1645670 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_vars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_engine_vars.c b/modules/ssl/ssl_engine_vars.c index be55ba31d9..cd5ca60d72 100644 --- a/modules/ssl/ssl_engine_vars.c +++ b/modules/ssl/ssl_engine_vars.c @@ -144,7 +144,7 @@ static const char *expr_var_fn(ap_expr_eval_ctx_t *ctx, const void *data) char *var = (char *)data; SSLConnRec *sslconn = myConnConfig(ctx->c); - return sslconn ? ssl_var_lookup_ssl(ctx->p, ctx->c, ctx->r, var) : ""; + return sslconn ? ssl_var_lookup_ssl(ctx->p, ctx->c, ctx->r, var) : NULL; } static int ssl_expr_lookup(ap_expr_lookup_parms *parms) -- 2.40.0