From d7ff3194ad4937ea23c87a22ff81309bb67e8773 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 25 Nov 2021 11:07:17 +0000 Subject: [PATCH] Resolve last issue with opaque BIGNUM in this test. --- regress/lib/libcrypto/bn/general/bntest.c | 6 +++--- 1 file 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)); -- 2.20.1