summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_engine_config.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2015-12-08 07:34:48 +0100
committerChristophe Jaillet <jailletc36@apache.org>2015-12-08 07:34:48 +0100
commitcf3cb2849fde7b6506498810269c8e2707fc8196 (patch)
tree678e835d1540fba2b3a22d38c5c9323a0534ca9b /modules/ssl/ssl_engine_config.c
parentremove dead code leftover from r1023387. (diff)
downloadapache2-cf3cb2849fde7b6506498810269c8e2707fc8196.tar.xz
apache2-cf3cb2849fde7b6506498810269c8e2707fc8196.zip
Constify + save a few bytes in conf pool when parsing SSLRequire
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1718514 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_engine_config.c')
-rw-r--r--modules/ssl/ssl_engine_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c
index 4d790ed03a..aec2f5e475 100644
--- a/modules/ssl/ssl_engine_config.c
+++ b/modules/ssl/ssl_engine_config.c
@@ -1268,7 +1268,7 @@ const char *ssl_cmd_SSLRequire(cmd_parms *cmd,
}
require = apr_array_push(dc->aRequirement);
- require->cpExpr = apr_pstrdup(cmd->pool, arg);
+ require->cpExpr = arg;
require->mpExpr = info;
return NULL;