git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@92650
13f79535-47bb-0310-9956-
ffa450edef68
#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;
}