Skip to content

Commit 7003dfa

Browse files
committed
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
1 parent 2e3d354 commit 7003dfa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/ssl/ssl_engine_config.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ const char *ssl_cmd_SSLTicketKeyFile(cmd_parms *cmd, void *dcfg, const char *nam
618618
modssl_ticket_t* ticket = NULL;
619619
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
620620

621+
path = ap_server_root_relative(cmd->pool, path);
622+
621623
rv = apr_file_open(&fp, path, APR_READ|APR_BINARY,
622624
APR_OS_DEFAULT, cmd->temp_pool);
623625

0 commit comments

Comments
 (0)