Patch in use of BN_zero() until next sync

This commit is contained in:
Theo Buehler 2022-12-18 00:47:33 +01:00
parent ceca77ab3e
commit 8c4425cd53

View File

@ -0,0 +1,11 @@
--- tests/bn_mod_exp2_mont.c.orig Sun Dec 18 00:42:18 2022
+++ tests/bn_mod_exp2_mont.c Sun Dec 18 00:42:25 2022
@@ -32,7 +32,7 @@ main(void)
if ((m = BN_new()) == NULL)
errx(1, "BN_new");
- BN_zero_ex(m);
+ BN_zero(m);
if (BN_mod_exp2_mont(NULL, NULL, NULL, NULL, NULL, m, NULL, NULL))
errx(1, "BN_mod_exp2_mont succeeded");