aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2022-12-18 00:47:33 +0100
committerTheo Buehler <tb@openbsd.org>2022-12-18 00:47:33 +0100
commit8c4425cd5305bde35f340df47af5b26a457623d3 (patch)
treea41b4772b0c97bf8a1e5c6668dbc243805dfa18f
parentceca77ab3ef30c62308469e9248d746943d156a7 (diff)
downloadportable-8c4425cd5305bde35f340df47af5b26a457623d3.tar.gz
portable-8c4425cd5305bde35f340df47af5b26a457623d3.tar.bz2
portable-8c4425cd5305bde35f340df47af5b26a457623d3.zip
Patch in use of BN_zero() until next sync
-rw-r--r--patches/bn_mod_exp2_mont.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/bn_mod_exp2_mont.patch b/patches/bn_mod_exp2_mont.patch
new file mode 100644
index 0000000..6d54710
--- /dev/null
+++ b/patches/bn_mod_exp2_mont.patch
@@ -0,0 +1,11 @@
1--- tests/bn_mod_exp2_mont.c.orig Sun Dec 18 00:42:18 2022
2+++ tests/bn_mod_exp2_mont.c Sun Dec 18 00:42:25 2022
3@@ -32,7 +32,7 @@ main(void)
4 if ((m = BN_new()) == NULL)
5 errx(1, "BN_new");
6
7- BN_zero_ex(m);
8+ BN_zero(m);
9
10 if (BN_mod_exp2_mont(NULL, NULL, NULL, NULL, NULL, m, NULL, NULL))
11 errx(1, "BN_mod_exp2_mont succeeded");