summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-06-17 20:28:28 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-06-17 20:28:28 +0000
commitf18ea6cae92d0529de521b9c0a79f2846e1b4c29 (patch)
tree59dafe73e93bcb579bb724d6ebcdb5f3cafef8a2
parentc9ff40cecd98c66d900dd4e292afb15ad3783b84 (diff)
downloadopenssl-new-f18ea6cae92d0529de521b9c0a79f2846e1b4c29.tar.gz
Get rid of signed/unsigned warnings, and teach CVS about new things to
ignore.
-rw-r--r--crypto/sha/sha256t.c8
-rw-r--r--crypto/sha/sha512t.c8
-rw-r--r--test/.cvsignore2
3 files changed, 10 insertions, 8 deletions
diff --git a/crypto/sha/sha256t.c b/crypto/sha/sha256t.c
index f57cfc54f5..e211c9c24f 100644
--- a/crypto/sha/sha256t.c
+++ b/crypto/sha/sha256t.c
@@ -52,7 +52,7 @@ int main ()
fprintf(stdout,"Testing SHA-256 ");
- SHA256("abc",3,md);
+ SHA256((unsigned char *)"abc",3,md);
if (memcmp(md,app_b1,sizeof(app_b1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
@@ -61,7 +61,7 @@ int main ()
else
fprintf(stdout,"."); fflush(stdout);
- SHA256("abcdbcde""cdefdefg""efghfghi""ghijhijk"
+ SHA256((unsigned char *)"abcdbcde""cdefdefg""efghfghi""ghijhijk"
"ijkljklm""klmnlmno""mnopnopq",56,md);
if (memcmp(md,app_b2,sizeof(app_b2)))
{ fflush(stdout);
@@ -90,7 +90,7 @@ int main ()
fprintf(stdout,"Testing SHA-224 ");
- SHA224("abc",3,md);
+ SHA224((unsigned char *)"abc",3,md);
if (memcmp(md,addenum_1,sizeof(addenum_1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
@@ -99,7 +99,7 @@ int main ()
else
fprintf(stdout,"."); fflush(stdout);
- SHA224("abcdbcde""cdefdefg""efghfghi""ghijhijk"
+ SHA224((unsigned char *)"abcdbcde""cdefdefg""efghfghi""ghijhijk"
"ijkljklm""klmnlmno""mnopnopq",56,md);
if (memcmp(md,addenum_2,sizeof(addenum_2)))
{ fflush(stdout);
diff --git a/crypto/sha/sha512t.c b/crypto/sha/sha512t.c
index 283b59c5ce..bb93070e11 100644
--- a/crypto/sha/sha512t.c
+++ b/crypto/sha/sha512t.c
@@ -79,7 +79,7 @@ int main ()
fprintf(stdout,"Testing SHA-512 ");
- SHA512("abc",3,md);
+ SHA512((unsigned char *)"abc",3,md);
if (memcmp(md,app_c1,sizeof(app_c1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
@@ -88,7 +88,7 @@ int main ()
else
fprintf(stdout,"."); fflush(stdout);
- SHA512("abcdefgh""bcdefghi""cdefghij""defghijk"
+ SHA512((unsigned char *)"abcdefgh""bcdefghi""cdefghij""defghijk"
"efghijkl""fghijklm""ghijklmn""hijklmno"
"ijklmnop""jklmnopq""klmnopqr""lmnopqrs"
"mnopqrst""nopqrstu",112,md);
@@ -126,7 +126,7 @@ int main ()
fprintf(stdout,"Testing SHA-384 ");
- SHA384("abc",3,md);
+ SHA384((unsigned char *)"abc",3,md);
if (memcmp(md,app_d1,sizeof(app_d1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
@@ -135,7 +135,7 @@ int main ()
else
fprintf(stdout,"."); fflush(stdout);
- SHA384("abcdefgh""bcdefghi""cdefghij""defghijk"
+ SHA384((unsigned char *)"abcdefgh""bcdefghi""cdefghij""defghijk"
"efghijkl""fghijklm""ghijklmn""hijklmno"
"ijklmnop""jklmnopq""klmnopqr""lmnopqrs"
"mnopqrst""nopqrstu",112,md);
diff --git a/test/.cvsignore b/test/.cvsignore
index fd1ddb0026..8d2d623289 100644
--- a/test/.cvsignore
+++ b/test/.cvsignore
@@ -14,3 +14,5 @@ certU.ss
Makefile.save
tmp.bntest
evptests.txt
+sha256t
+sha512t