diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_test.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_test.c b/src/regress/lib/libcrypto/bn/bn_test.c index be790bc956..ed0ddabae0 100644 --- a/src/regress/lib/libcrypto/bn/bn_test.c +++ b/src/regress/lib/libcrypto/bn/bn_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_test.c,v 1.13 2023/04/07 22:36:38 tb Exp $ */ | 1 | /* $OpenBSD: bn_test.c,v 1.14 2023/04/08 17:43:30 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 | * |
@@ -167,13 +167,10 @@ main(int argc, char *argv[]) | |||
167 | argv++; | 167 | argv++; |
168 | } | 168 | } |
169 | 169 | ||
170 | 170 | if ((ctx = BN_CTX_new()) == NULL) | |
171 | ctx = BN_CTX_new(); | ||
172 | if (ctx == NULL) | ||
173 | exit(1); | 171 | exit(1); |
174 | 172 | ||
175 | out = BIO_new(BIO_s_file()); | 173 | if ((out = BIO_new(BIO_s_file())) == NULL) |
176 | if (out == NULL) | ||
177 | exit(1); | 174 | exit(1); |
178 | if (outfile == NULL) { | 175 | if (outfile == NULL) { |
179 | BIO_set_fp(out, stdout, BIO_NOCLOSE); | 176 | BIO_set_fp(out, stdout, BIO_NOCLOSE); |