From: tb Date: Thu, 25 Nov 2021 11:07:17 +0000 (+0000) Subject: Resolve last issue with opaque BIGNUM in this test. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d7ff3194ad4937ea23c87a22ff81309bb67e8773;p=openbsd Resolve last issue with opaque BIGNUM in this test. --- 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));