libressl-portable/patches/bn_shift.patch
2023-02-13 20:36:37 -06:00

35 lines
559 B
Diff

--- tests/bn_shift.c.orig Thu Feb 9 18:42:51 2023
+++ tests/bn_shift.c Thu Feb 9 18:43:08 2023
@@ -351,6 +351,8 @@ test_bn_rshift_to_zero(void)
return failed;
}
+#if 0
+
static void
benchmark_bn_lshift1(BIGNUM *bn)
{
@@ -616,9 +618,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;
@@ -626,6 +631,9 @@ benchmark_bn_shift(void)
bm = &benchmarks[i];
benchmark_run(bm, 5);
}
+#else
+ return;
+#endif
}
int