From 58a4748e993c1bcef12712a479da262071e91805 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 17 Dec 2022 23:41:29 +0000 Subject: Switch to using BN_zero() instead of BN_zero_ex() --- src/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c b/src/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c index 0fa2b960df..aa1cd0e0cc 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_exp2_mont.c +++ b/src/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 * @@ -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"); -- cgit v1.2.3-55-g6feb