mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 07:26:57 +03:00
switch to ptemp pool for ssl_pphrase_Handle
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -268,7 +268,13 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
*/
|
||||
ssl_rand_seed(base_server, ptemp, SSL_RSCTX_STARTUP, "Init: ");
|
||||
|
||||
ssl_pphrase_Handle(base_server, p);
|
||||
/*
|
||||
* read server private keys/public certs into memory.
|
||||
* decrypting any encrypted keys via configured SSLPassPhraseDialogs
|
||||
* anything that needs to live longer than ptemp needs to also survive
|
||||
* restarts, in which case they'll live inside s->process->pool.
|
||||
*/
|
||||
ssl_pphrase_Handle(base_server, ptemp);
|
||||
|
||||
ssl_tmp_keys_init(base_server);
|
||||
|
||||
|
Reference in New Issue
Block a user