diff options
Diffstat (limited to 'src/lib/libcrypto/sha/shatest.c')
-rw-r--r-- | src/lib/libcrypto/sha/shatest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sha/shatest.c b/src/lib/libcrypto/sha/shatest.c index 2b0744d937..a5786bbf76 100644 --- a/src/lib/libcrypto/sha/shatest.c +++ b/src/lib/libcrypto/sha/shatest.c | |||
@@ -76,26 +76,26 @@ int main(int argc, char *argv[]) | |||
76 | #define SHA_0 /* FIPS 180 */ | 76 | #define SHA_0 /* FIPS 180 */ |
77 | #undef SHA_1 /* FIPS 180-1 */ | 77 | #undef SHA_1 /* FIPS 180-1 */ |
78 | 78 | ||
79 | char *test[]={ | 79 | static char *test[]={ |
80 | "abc", | 80 | "abc", |
81 | "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", | 81 | "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", |
82 | NULL, | 82 | NULL, |
83 | }; | 83 | }; |
84 | 84 | ||
85 | #ifdef SHA_0 | 85 | #ifdef SHA_0 |
86 | char *ret[]={ | 86 | static char *ret[]={ |
87 | "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880", | 87 | "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880", |
88 | "d2516ee1acfa5baf33dfc1c471e438449ef134c8", | 88 | "d2516ee1acfa5baf33dfc1c471e438449ef134c8", |
89 | }; | 89 | }; |
90 | char *bigret= | 90 | static char *bigret= |
91 | "3232affa48628a26653b5aaa44541fd90d690603"; | 91 | "3232affa48628a26653b5aaa44541fd90d690603"; |
92 | #endif | 92 | #endif |
93 | #ifdef SHA_1 | 93 | #ifdef SHA_1 |
94 | char *ret[]={ | 94 | static char *ret[]={ |
95 | "a9993e364706816aba3e25717850c26c9cd0d89d", | 95 | "a9993e364706816aba3e25717850c26c9cd0d89d", |
96 | "84983e441c3bd26ebaae4aa1f95129e5e54670f1", | 96 | "84983e441c3bd26ebaae4aa1f95129e5e54670f1", |
97 | }; | 97 | }; |
98 | char *bigret= | 98 | static char *bigret= |
99 | "34aa973cd4c4daa4f61eeb2bdbad27316534016f"; | 99 | "34aa973cd4c4daa4f61eeb2bdbad27316534016f"; |
100 | #endif | 100 | #endif |
101 | 101 | ||