From c3a213ce6402b96ab784dc32d18acacdce8e41f9 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 23 Jan 2026 08:34:08 +0000 Subject: bn_ffdh: unifdef HAVE_SCAPY_SPECIAL --- src/regress/lib/libcrypto/bn/bn_ffdh.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/regress') 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 @@ -/* $OpenBSD: bn_ffdh.c,v 1.2 2026/01/23 08:31:20 tb Exp $ */ +/* $OpenBSD: bn_ffdh.c,v 1.3 2026/01/23 08:34:08 tb Exp $ */ /* * Copyright (c) 2026 Theo Buehler @@ -24,8 +24,6 @@ #include "bn_local.h" -#define HAVE_SCAPY_SPECIAL 0 - /* * The strings below were copied from RFCs 2409, 3526, 7919, * wrapped to 6 columns, added quotes and semicolons. @@ -434,7 +432,6 @@ ffdh_test_case(const struct ffdh_test *t, BN_CTX *ctx) static int ffdh_check(const struct ffdh_test *t) { -#if HAVE_SCAPY_SPECIAL DH *dh = NULL; BIGNUM *p = NULL, *g = NULL; int codes = 0; @@ -469,9 +466,6 @@ ffdh_check(const struct ffdh_test *t) DH_free(dh); return failed; -#else - return 0; -#endif /* HAVE_SCAPY_SPECIAL */ } int -- cgit v1.2.3-55-g6feb