diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-12-17 23:41:30 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-12-17 23:41:30 +0000 |
commit | 0e473c7b364380e1c24d4e06d3a3f9dae6d73888 (patch) | |
tree | 73e4dd65101e57cf851a2092dd5734a3d2cf4da7 /regress | |
parent | f0b550dbb78788c8d584cb3e2ff22d279ec6aa44 (diff) |
Switch to using BN_zero() instead of BN_zero_ex()
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/bn/bn_mod_exp2_mont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c b/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c index 0fa2b960df6..aa1cd0e0cc0 100644 --- 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"); |