summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-08-20 22:27:53 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-08-20 22:27:53 +0000
commit4ed67c51530c17f4096a894de15377417712b5ed (patch)
tree32da8661c188c5af2fc8b5685119682cc39f3fe0 /regress/lib
parent82985a78baf0738905c1e2681ee907dc2aac32b2 (diff)
unifdef -D FULL_TEST
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/cast/casttest.c8
1 files changed, 1 insertions, 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 <openssl/cast.h>
-#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);
}