diff options
-rw-r--r-- | patches/bn_mod_exp2_mont.patch | 11 |
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"); | ||