mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 07:26:57 +03:00
Consensus is that we should not use the scoreboard as a source of entropy.
Reviewed by: OtherBill, Justin, Madhu git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93652 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -163,11 +163,7 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
|
||||
/*
|
||||
* Seed the Pseudo Random Number Generator (PRNG)
|
||||
*
|
||||
* Note: scoreboard size must be fetched at init time because
|
||||
* ap_calc_scoreboard_size() is not threadsafe
|
||||
*/
|
||||
mc->nScoreboardSize = ap_calc_scoreboard_size();
|
||||
ssl_rand_seed(s, p, SSL_RSCTX_STARTUP, "Init: ");
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user