Get rid of signed/unsigned warnings, and teach CVS about new things to

ignore.
This commit is contained in:
Geoff Thorpe 2004-06-17 20:28:28 +00:00
parent c9ff40cecd
commit f18ea6cae9
3 changed files with 10 additions and 8 deletions

View file

@ -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);

View file

@ -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);

View file

@ -14,3 +14,5 @@ certU.ss
Makefile.save
tmp.bntest
evptests.txt
sha256t
sha512t