summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/shatest.c
diff options
context:
space:
mode:
authorbeck <>2000-03-19 11:13:58 +0000
committerbeck <>2000-03-19 11:13:58 +0000
commit796d609550df3a33fc11468741c5d2f6d3df4c11 (patch)
tree6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/sha/shatest.c
parent5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff)
downloadopenbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/sha/shatest.c')
-rw-r--r--src/lib/libcrypto/sha/shatest.c10
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
79char *test[]={ 79static 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
86char *ret[]={ 86static char *ret[]={
87 "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880", 87 "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880",
88 "d2516ee1acfa5baf33dfc1c471e438449ef134c8", 88 "d2516ee1acfa5baf33dfc1c471e438449ef134c8",
89 }; 89 };
90char *bigret= 90static char *bigret=
91 "3232affa48628a26653b5aaa44541fd90d690603"; 91 "3232affa48628a26653b5aaa44541fd90d690603";
92#endif 92#endif
93#ifdef SHA_1 93#ifdef SHA_1
94char *ret[]={ 94static char *ret[]={
95 "a9993e364706816aba3e25717850c26c9cd0d89d", 95 "a9993e364706816aba3e25717850c26c9cd0d89d",
96 "84983e441c3bd26ebaae4aa1f95129e5e54670f1", 96 "84983e441c3bd26ebaae4aa1f95129e5e54670f1",
97 }; 97 };
98char *bigret= 98static char *bigret=
99 "34aa973cd4c4daa4f61eeb2bdbad27316534016f"; 99 "34aa973cd4c4daa4f61eeb2bdbad27316534016f";
100#endif 100#endif
101 101