summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha1test.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-09-08 21:58:13 +0000
committerBodo Möller <bodo@openssl.org>1999-09-08 21:58:13 +0000
commit396f631458c34469bf12a575f0fccc44282e0d1d (patch)
tree06d18370963412a753b75c750837ea2da1c6976f /crypto/sha/sha1test.c
parent0d64ea89f75fcd2dd11fbd50e615a7fc20167908 (diff)
some more patches for avoiding problems with non-automatic variables
Diffstat (limited to 'crypto/sha/sha1test.c')
-rw-r--r--crypto/sha/sha1test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c
index 9400ad2a61..688d06c637 100644
--- a/crypto/sha/sha1test.c
+++ b/crypto/sha/sha1test.c
@@ -76,26 +76,26 @@ int main(int argc, char *argv[])
#undef SHA_0 /* FIPS 180 */
#define SHA_1 /* FIPS 180-1 */
-char *test[]={
+static char *test[]={
"abc",
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
NULL,
};
#ifdef SHA_0
-char *ret[]={
+static char *ret[]={
"0164b8a914cd2a5e74c4f7ff082c4d97f1edf880",
"d2516ee1acfa5baf33dfc1c471e438449ef134c8",
};
-char *bigret=
+static char *bigret=
"3232affa48628a26653b5aaa44541fd90d690603";
#endif
#ifdef SHA_1
-char *ret[]={
+static char *ret[]={
"a9993e364706816aba3e25717850c26c9cd0d89d",
"84983e441c3bd26ebaae4aa1f95129e5e54670f1",
};
-char *bigret=
+static char *bigret=
"34aa973cd4c4daa4f61eeb2bdbad27316534016f";
#endif