From: Paul Querna Date: Thu, 10 Nov 2011 15:17:18 +0000 (+0000) Subject: Apply ap_server_root_relative to the path used for the ticket secrets file. X-Git-Tag: 2.3.16~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c44e61902f5e9ab64086bbf6d621ebb3e2d1e955;p=apache Apply ap_server_root_relative to the path used for the ticket secrets file. Suggested by: Rüdiger Plüm git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200372 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c index 96d63ce50d..1d140f5583 100644 --- a/modules/ssl/ssl_engine_config.c +++ b/modules/ssl/ssl_engine_config.c @@ -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);