aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-14:01/random-9.2-8.4.patch
blob: 995ee7aff7dafa2edc5b865e10676da23fcfdc08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: sys/dev/random/probe.c
===================================================================
--- sys/dev/random/probe.c	(revision 259661)
+++ sys/dev/random/probe.c	(working copy)
@@ -73,7 +73,7 @@
 	if (via_feature_rng & VIA_HAS_RNG) {
 		int enable;
 
-		enable = 1;
+		enable = 0;
 		TUNABLE_INT_FETCH("hw.nehemiah_rng_enable", &enable);
 		if (enable)
 			*systat = random_nehemiah;
@@ -83,7 +83,7 @@
 	if (cpu_feature2 & CPUID2_RDRAND) {
 		int enable;
 
-		enable = 1;
+		enable = 0;
 		TUNABLE_INT_FETCH("hw.ivy_rng_enable", &enable);
 		if (enable)
 			*systat = random_ivy;