summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-25 11:07:18 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-25 11:07:18 +0000
commitefe609b89277f9db4f2051e9b3e2fea1868abb3e (patch)
treea285e59b83ac59c0c4888294eb5ae4563a6807bf /regress
parentdd1741bb08cf6e3005e355a79690a6848c38349d (diff)
Resolve last issue with opaque BIGNUM in this test.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/bn/general/bntest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/bn/general/bntest.c b/regress/lib/libcrypto/bn/general/bntest.c
index b9d2c296e61..4f08dc473f6 100644
--- a/regress/lib/libcrypto/bn/general/bntest.c
+++ b/regress/lib/libcrypto/bn/general/bntest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bntest.c,v 1.22 2021/11/18 14:59:44 tb Exp $ */
+/* $OpenBSD: bntest.c,v 1.23 2021/11/25 11:07:17 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -935,8 +935,8 @@ test_mont(BIO *bp, BN_CTX *ctx)
BIO_puts(bp, " * ");
CHECK_GOTO(BN_print(bp, b));
BIO_puts(bp, " % ");
- /* XXX opaque BN */
- CHECK_GOTO(BN_print(bp, &(mont->N)));
+ /* n == &mont->N */
+ CHECK_GOTO(BN_print(bp, n));
BIO_puts(bp, " - ");
}
CHECK_GOTO(BN_print(bp, A));