artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9f3f6
)
Switch to using BN_zero() instead of BN_zero_ex()
author
tb
<tb@openbsd.org>
Sat, 17 Dec 2022 23:41:29 +0000
(23:41 +0000)
committer
tb
<tb@openbsd.org>
Sat, 17 Dec 2022 23:41:29 +0000
(23:41 +0000)
regress/lib/libcrypto/bn/bn_mod_exp2_mont.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c
b/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c
index
0fa2b96
..
aa1cd0e
100644
(file)
--- a/
regress/lib/libcrypto/bn/bn_mod_exp2_mont.c
+++ b/
regress/lib/libcrypto/bn/bn_mod_exp2_mont.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bn_mod_exp2_mont.c,v 1.
1 2022/12/01 20:50:10
tb Exp $ */
+/* $OpenBSD: bn_mod_exp2_mont.c,v 1.
2 2022/12/17 23:41:29
tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
*
@@
-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");