httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1645670 - /httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
Date Mon, 15 Dec 2014 14:57:52 GMT
Author: rpluem
Date: Mon Dec 15 14:57:52 2014
New Revision: 1645670

URL: http://svn.apache.org/r1645670
Log:
* Return NULL instead of an empty string as ssl_var_lookup_ssl does by default. Thanks for
the pointer Christophe

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c?rev=1645670&r1=1645669&r2=1645670&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c Mon Dec 15 14:57:52 2014
@@ -144,7 +144,7 @@ static const char *expr_var_fn(ap_expr_e
     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)



Mime
View raw message