tiny cleanup to remove bogus SCOREBOARD_SIZE define

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2001-12-29 19:55:46 +00:00
parent 1bb22bd495
commit 2c44e1c672
2 changed files with 2 additions and 5 deletions

View File

@ -151,12 +151,12 @@ int ssl_rand_seed(server_rec *s, apr_pool_t *p, ssl_rsctx_t nCtx, char *prefix)
#if XXX_SBENTROPY_SOLVED
/*
* XXX: This is entirely borked, SCOREBOARD_SIZE < 1024
* XXX: This is entirely borked, sizeof(scoreboard) < 1024
*
* seed in an 1KB extract of the current scoreboard
*/
if (ap_scoreboard_image != NULL) {
n = ssl_rand_choosenum(0, SCOREBOARD_SIZE-1024-1);
n = ssl_rand_choosenum(0, sizeof(scoreboard)-1024-1);
RAND_seed(((unsigned char *)ap_scoreboard_image)+n, 1024);
nDone += 1024;
}