aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_shift.patch
blob: 446609b8af6f9465762ab00669642ef9edd2a24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- tests/bn_shift.c.orig	Sun Dec 18 01:05:29 2022
+++ tests/bn_shift.c	Sun Dec 18 01:29:36 2022
@@ -314,6 +314,8 @@ test_bn_rshift_to_zero(void)
 	return failed;
 }
 
+#if 0
+
 static void
 benchmark_bn_lshift1(BIGNUM *bn)
 {
@@ -507,9 +509,12 @@ benchmark_run(const struct benchmark *bm, int seconds)
 	BN_free(bn);
 }
 
+#endif
+
 static void
 benchmark_bn_shift(void)
 {
+#if 0
 	const struct benchmark *bm;
 	size_t i;
 
@@ -517,6 +522,9 @@ benchmark_bn_shift(void)
 		bm = &benchmarks[i];
 		benchmark_run(bm, 5);
 	}
+#else
+	return;
+#endif
 }
 
 int