Ensure that the number of elements of random_source_descr[]
of matches that of enum random_entropy_source.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Otherwise LGTM
| sys/dev/random/random_harvestq.c | ||
|---|---|---|
| 683 | The second assertion probably makes more sense colocated with the definition of ENTROPYSOURCE or hc_source_mask. | |
| sys/dev/random/random_harvestq.c | ||
|---|---|---|
| 683 | Actually I like that better - less duplication. I didn't touch fenestrasX/fx_pool.c and only added the CTASSERT to my changeset when I found so many missing items. | |