Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148158863
D52233.1785601328.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D52233.1785601328.diff
View Options
diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c
--- a/sys/dev/random/random_harvestq.c
+++ b/sys/dev/random/random_harvestq.c
@@ -341,7 +341,8 @@
{
memset(dst, 0, sizeof(uint32_t) * (HARVESTSIZE + 1));
memcpy(dst, event->he_entropy, event->he_size);
- dst[HARVESTSIZE] = event->he_somecounter;
+ if (event->he_source <= RANDOM_ENVIRONMENTAL_END)
+ dst[HARVESTSIZE] = event->he_somecounter;
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 1, 4:22 PM (13 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29327817
Default Alt Text
D52233.1785601328.diff (448 B)
Attached To
Mode
D52233: random: Exclude the timestamp from healthtest for pure sources
Attached
Detach File
Event Timeline
Log In to Comment