diff options
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_ffdh.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_ffdh.c b/src/regress/lib/libcrypto/bn/bn_ffdh.c index b67b3674ee..2a6e7ecf58 100644 --- a/src/regress/lib/libcrypto/bn/bn_ffdh.c +++ b/src/regress/lib/libcrypto/bn/bn_ffdh.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_ffdh.c,v 1.2 2026/01/23 08:31:20 tb Exp $ */ | 1 | /* $OpenBSD: bn_ffdh.c,v 1.3 2026/01/23 08:34:08 tb Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2026 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2026 Theo Buehler <tb@openbsd.org> |
| @@ -24,8 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | #include "bn_local.h" | 25 | #include "bn_local.h" |
| 26 | 26 | ||
| 27 | #define HAVE_SCAPY_SPECIAL 0 | ||
| 28 | |||
| 29 | /* | 27 | /* |
| 30 | * The strings below were copied from RFCs 2409, 3526, 7919, | 28 | * The strings below were copied from RFCs 2409, 3526, 7919, |
| 31 | * wrapped to 6 columns, added quotes and semicolons. | 29 | * wrapped to 6 columns, added quotes and semicolons. |
| @@ -434,7 +432,6 @@ ffdh_test_case(const struct ffdh_test *t, BN_CTX *ctx) | |||
| 434 | static int | 432 | static int |
| 435 | ffdh_check(const struct ffdh_test *t) | 433 | ffdh_check(const struct ffdh_test *t) |
| 436 | { | 434 | { |
| 437 | #if HAVE_SCAPY_SPECIAL | ||
| 438 | DH *dh = NULL; | 435 | DH *dh = NULL; |
| 439 | BIGNUM *p = NULL, *g = NULL; | 436 | BIGNUM *p = NULL, *g = NULL; |
| 440 | int codes = 0; | 437 | int codes = 0; |
| @@ -469,9 +466,6 @@ ffdh_check(const struct ffdh_test *t) | |||
| 469 | DH_free(dh); | 466 | DH_free(dh); |
| 470 | 467 | ||
| 471 | return failed; | 468 | return failed; |
| 472 | #else | ||
| 473 | return 0; | ||
| 474 | #endif /* HAVE_SCAPY_SPECIAL */ | ||
| 475 | } | 469 | } |
| 476 | 470 | ||
| 477 | int | 471 | int |
