]> granicus.if.org Git - apache/commitdiff
Merge r1715273 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 7 Dec 2015 12:30:11 +0000 (12:30 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 7 Dec 2015 12:30:11 +0000 (12:30 +0000)
Save a few bytes in conf pool.
Submitted by: jailletc36
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1718333 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/ssl/ssl_engine_config.c

diff --git a/STATUS b/STATUS
index 965543d0fa5162e6c3965c62e5e8be1399079385..72097d8ac0a5f433f1dbb0c2b8084c469b65a962 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -112,11 +112,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
 
-  *) mod_ssl: Save a few bytes in conf pool.
-     trunk patch: http://svn.apache.org/r1715273
-     2.4.x patch: trunk patches work
-     +1: jailletc36, ylavic, jim
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index e5c70f39fc9da3dc481b80ba1034657b5e7d58e9..e68e6d230df8bf504d6aa39458d071aec799bee8 100644 (file)
@@ -832,8 +832,7 @@ const char *ssl_cmd_SSLCertificateFile(cmd_parms *cmd,
         return err;
     }
 
-    *(const char **)apr_array_push(sc->server->pks->cert_files) =
-        apr_pstrdup(cmd->pool, arg);
+    *(const char **)apr_array_push(sc->server->pks->cert_files) = arg;
     
     return NULL;
 }
@@ -849,8 +848,7 @@ const char *ssl_cmd_SSLCertificateKeyFile(cmd_parms *cmd,
         return err;
     }
 
-    *(const char **)apr_array_push(sc->server->pks->key_files) =
-        apr_pstrdup(cmd->pool, arg);
+    *(const char **)apr_array_push(sc->server->pks->key_files) = arg;
 
     return NULL;
 }