From d03f073e9b8ec42216bf7545e61da1c91b8e1024 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 20 Aug 2023 22:27:52 +0000 Subject: [PATCH] unifdef -D FULL_TEST --- regress/lib/libcrypto/cast/casttest.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/regress/lib/libcrypto/cast/casttest.c b/regress/lib/libcrypto/cast/casttest.c index 88c374ed65f..18d8e43cffc 100644 --- a/regress/lib/libcrypto/cast/casttest.c +++ b/regress/lib/libcrypto/cast/casttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: casttest.c,v 1.3 2023/08/20 22:26:24 tb Exp $ */ +/* $OpenBSD: casttest.c,v 1.4 2023/08/20 22:27:52 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -63,8 +63,6 @@ #include -#define FULL_TEST - static unsigned char k[16] = { 0x01, 0x23, 0x45, 0x67, 0x12, 0x34, 0x56, 0x78, 0x23, 0x45, 0x67, 0x89, 0x34, 0x56, 0x78, 0x9A @@ -128,10 +126,8 @@ static unsigned char cfb_cipher64[CFB_TEST_SIZE] = { int main(int argc, char *argv[]) { -#ifdef FULL_TEST long l; CAST_KEY key_b; -#endif int i, z, err = 0; CAST_KEY key; @@ -171,7 +167,6 @@ main(int argc, char *argv[]) if (err == 0) printf("ecb cast5 ok\n"); -#ifdef FULL_TEST { unsigned char out_a[16], out_b[16]; static char *hex = "0123456789ABCDEF"; @@ -223,7 +218,6 @@ main(int argc, char *argv[]) } else printf(" ok\n"); } -#endif exit(err); } -- 2.20.1