]> granicus.if.org Git - apache/commitdiff
Apply ap_server_root_relative to the path used for the ticket secrets file.
authorPaul Querna <pquerna@apache.org>
Thu, 10 Nov 2011 15:17:18 +0000 (15:17 +0000)
committerPaul Querna <pquerna@apache.org>
Thu, 10 Nov 2011 15:17:18 +0000 (15:17 +0000)
Suggested by: Rüdiger Plüm

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200372 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_config.c

index 96d63ce50d7e285550253c6dd0f19b147a5e0d61..1d140f5583490c3b3834a4a8ee02c57e04149891 100644 (file)
@@ -618,6 +618,8 @@ const char *ssl_cmd_SSLTicketKeyFile(cmd_parms *cmd, void *dcfg, const char *nam
     modssl_ticket_t* ticket = NULL;
     SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
 
+    path = ap_server_root_relative(cmd->pool, path);
+
     rv = apr_file_open(&fp, path, APR_READ|APR_BINARY,
                        APR_OS_DEFAULT, cmd->temp_pool);