summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2021-11-25 11:07:17 +0000
committertb <>2021-11-25 11:07:17 +0000
commitaceb60d6e488e4f7d6c8398188afe5a176df80dc (patch)
treeac0b0278186adda206144eb7e3218edecb876251 /src/regress/lib
parentc4790b46c8f1d0af88e1915e2910ccb522155ca2 (diff)
downloadopenbsd-aceb60d6e488e4f7d6c8398188afe5a176df80dc.tar.gz
openbsd-aceb60d6e488e4f7d6c8398188afe5a176df80dc.tar.bz2
openbsd-aceb60d6e488e4f7d6c8398188afe5a176df80dc.zip
Resolve last issue with opaque BIGNUM in this test.
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/bn/general/bntest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/general/bntest.c b/src/regress/lib/libcrypto/bn/general/bntest.c
index b9d2c296e6..4f08dc473f 100644
--- a/src/regress/lib/libcrypto/bn/general/bntest.c
+++ b/src/regress/lib/libcrypto/bn/general/bntest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bntest.c,v 1.22 2021/11/18 14:59:44 tb Exp $ */ 1/* $OpenBSD: bntest.c,v 1.23 2021/11/25 11:07:17 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -935,8 +935,8 @@ test_mont(BIO *bp, BN_CTX *ctx)
935 BIO_puts(bp, " * "); 935 BIO_puts(bp, " * ");
936 CHECK_GOTO(BN_print(bp, b)); 936 CHECK_GOTO(BN_print(bp, b));
937 BIO_puts(bp, " % "); 937 BIO_puts(bp, " % ");
938 /* XXX opaque BN */ 938 /* n == &mont->N */
939 CHECK_GOTO(BN_print(bp, &(mont->N))); 939 CHECK_GOTO(BN_print(bp, n));
940 BIO_puts(bp, " - "); 940 BIO_puts(bp, " - ");
941 } 941 }
942 CHECK_GOTO(BN_print(bp, A)); 942 CHECK_GOTO(BN_print(bp, A));