aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_shift.patch
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-13 20:10:15 -0600
committerBrent Cook <busterb@gmail.com>2023-02-13 20:36:37 -0600
commit59492d5c9fa784cdd5bdb25585ec919854ad01c4 (patch)
tree35fd0f0c28d0051e1c81b7206bc3fdce16acf03a /patches/bn_shift.patch
parente4c35bbde4335c3d1d5f7a841b35c669e955ddc8 (diff)
downloadportable-59492d5c9fa784cdd5bdb25585ec919854ad01c4.tar.gz
portable-59492d5c9fa784cdd5bdb25585ec919854ad01c4.tar.bz2
portable-59492d5c9fa784cdd5bdb25585ec919854ad01c4.zip
update bn_shift patch
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 74a7d9a..dd1fb9b 100644
--- a/patches/bn_shift.patch
+++ b/patches/bn_shift.patch
@@ -1,6 +1,6 @@
1--- tests/bn_shift.c.orig Thu Feb 9 18:42:51 2023 1--- tests/bn_shift.c.orig 2023-02-13 20:06:27.295678033 -0600
2+++ tests/bn_shift.c Thu Feb 9 18:43:08 2023 2+++ tests/bn_shift.c 2023-02-13 20:08:08.335677654 -0600
3@@ -351,6 +351,8 @@ test_bn_rshift_to_zero(void) 3@@ -355,6 +355,8 @@
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@@ -616,9 +618,12 @@ benchmark_run(const struct benchmark *bm, int seconds) 12@@ -620,9 +622,12 @@
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@@ -626,6 +631,9 @@ benchmark_bn_shift(void) 25@@ -630,6 +635,9 @@
26 bm = &benchmarks[i]; 26 bm = &benchmarks[i];
27 benchmark_run(bm, 5); 27 benchmark_run(bm, 5);
28 } 28 }