diff options
author | tb <> | 2023-08-20 22:27:52 +0000 |
---|---|---|
committer | tb <> | 2023-08-20 22:27:52 +0000 |
commit | 4e44aa7d33cbe74ea729f5db32708cc6d33768a3 (patch) | |
tree | cfbd67ea5382b21bcea4067cd42590ba86c421eb /src | |
parent | 5c90db5c2a3f78ef08edcb9b9e36892fd96ce00a (diff) | |
download | openbsd-4e44aa7d33cbe74ea729f5db32708cc6d33768a3.tar.gz openbsd-4e44aa7d33cbe74ea729f5db32708cc6d33768a3.tar.bz2 openbsd-4e44aa7d33cbe74ea729f5db32708cc6d33768a3.zip |
unifdef -D FULL_TEST
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libcrypto/cast/casttest.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/regress/lib/libcrypto/cast/casttest.c b/src/regress/lib/libcrypto/cast/casttest.c index 88c374ed65..18d8e43cff 100644 --- a/src/regress/lib/libcrypto/cast/casttest.c +++ b/src/regress/lib/libcrypto/cast/casttest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: casttest.c,v 1.3 2023/08/20 22:26:24 tb Exp $ */ | 1 | /* $OpenBSD: casttest.c,v 1.4 2023/08/20 22:27:52 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 | * |
@@ -63,8 +63,6 @@ | |||
63 | 63 | ||
64 | #include <openssl/cast.h> | 64 | #include <openssl/cast.h> |
65 | 65 | ||
66 | #define FULL_TEST | ||
67 | |||
68 | static unsigned char k[16] = { | 66 | static unsigned char k[16] = { |
69 | 0x01, 0x23, 0x45, 0x67, 0x12, 0x34, 0x56, 0x78, | 67 | 0x01, 0x23, 0x45, 0x67, 0x12, 0x34, 0x56, 0x78, |
70 | 0x23, 0x45, 0x67, 0x89, 0x34, 0x56, 0x78, 0x9A | 68 | 0x23, 0x45, 0x67, 0x89, 0x34, 0x56, 0x78, 0x9A |
@@ -128,10 +126,8 @@ static unsigned char cfb_cipher64[CFB_TEST_SIZE] = { | |||
128 | int | 126 | int |
129 | main(int argc, char *argv[]) | 127 | main(int argc, char *argv[]) |
130 | { | 128 | { |
131 | #ifdef FULL_TEST | ||
132 | long l; | 129 | long l; |
133 | CAST_KEY key_b; | 130 | CAST_KEY key_b; |
134 | #endif | ||
135 | int i, z, err = 0; | 131 | int i, z, err = 0; |
136 | CAST_KEY key; | 132 | CAST_KEY key; |
137 | 133 | ||
@@ -171,7 +167,6 @@ main(int argc, char *argv[]) | |||
171 | if (err == 0) | 167 | if (err == 0) |
172 | printf("ecb cast5 ok\n"); | 168 | printf("ecb cast5 ok\n"); |
173 | 169 | ||
174 | #ifdef FULL_TEST | ||
175 | { | 170 | { |
176 | unsigned char out_a[16], out_b[16]; | 171 | unsigned char out_a[16], out_b[16]; |
177 | static char *hex = "0123456789ABCDEF"; | 172 | static char *hex = "0123456789ABCDEF"; |
@@ -223,7 +218,6 @@ main(int argc, char *argv[]) | |||
223 | } else | 218 | } else |
224 | printf(" ok\n"); | 219 | printf(" ok\n"); |
225 | } | 220 | } |
226 | #endif | ||
227 | 221 | ||
228 | exit(err); | 222 | exit(err); |
229 | } | 223 | } |