aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_shift.patch
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2023-02-09 18:44:56 +0100
committerBrent Cook <busterb@gmail.com>2023-02-13 20:36:37 -0600
commit7dc7ef81d16f98327321028257e8ecaebe95bfc2 (patch)
tree83a7890078d66a58f3a607e7400f4770cd0caaac /patches/bn_shift.patch
parent81e6fb0fe9999a51b6d21393247a32cc4e18f738 (diff)
downloadportable-7dc7ef81d16f98327321028257e8ecaebe95bfc2.tar.gz
portable-7dc7ef81d16f98327321028257e8ecaebe95bfc2.tar.bz2
portable-7dc7ef81d16f98327321028257e8ecaebe95bfc2.zip
refresh patches
Diffstat (limited to 'patches/bn_shift.patch')
-rw-r--r--patches/bn_shift.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/bn_shift.patch b/patches/bn_shift.patch
index 446609b..74a7d9a 100644
--- a/patches/bn_shift.patch
+++ b/patches/bn_shift.patch
@@ -1,6 +1,6 @@
1--- tests/bn_shift.c.orig Sun Dec 18 01:05:29 2022 1--- tests/bn_shift.c.orig Thu Feb 9 18:42:51 2023
2+++ tests/bn_shift.c Sun Dec 18 01:29:36 2022 2+++ tests/bn_shift.c Thu Feb 9 18:43:08 2023
3@@ -314,6 +314,8 @@ test_bn_rshift_to_zero(void) 3@@ -351,6 +351,8 @@ test_bn_rshift_to_zero(void)
4 return failed; 4 return failed;
5 } 5 }
6 6
@@ -9,7 +9,7 @@
9 static void 9 static void
10 benchmark_bn_lshift1(BIGNUM *bn) 10 benchmark_bn_lshift1(BIGNUM *bn)
11 { 11 {
12@@ -507,9 +509,12 @@ benchmark_run(const struct benchmark *bm, int seconds) 12@@ -616,9 +618,12 @@ benchmark_run(const struct benchmark *bm, int seconds)
13 BN_free(bn); 13 BN_free(bn);
14 } 14 }
15 15
@@ -22,7 +22,7 @@
22 const struct benchmark *bm; 22 const struct benchmark *bm;
23 size_t i; 23 size_t i;
24 24
25@@ -517,6 +522,9 @@ benchmark_bn_shift(void) 25@@ -626,6 +631,9 @@ benchmark_bn_shift(void)
26 bm = &benchmarks[i]; 26 bm = &benchmarks[i];
27 benchmark_run(bm, 5); 27 benchmark_run(bm, 5);
28 } 28 }