]> granicus.if.org Git - openssl/commitdiff
Get rid of signed/unsigned warnings, and teach CVS about new things to
authorGeoff Thorpe <geoff@openssl.org>
Thu, 17 Jun 2004 20:28:28 +0000 (20:28 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 17 Jun 2004 20:28:28 +0000 (20:28 +0000)
ignore.

crypto/sha/sha256t.c
crypto/sha/sha512t.c
test/.cvsignore

index f57cfc54f5fd6b5824f27f31feae57766417430d..e211c9c24f8f5a4e485b164d2b17b86bb7e78666 100644 (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);
index 283b59c5ce59f0784303e15cb0bfa39730967073..bb93070e11631e673c005636d3585cc24a2bc07b 100644 (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);
index fd1ddb0026c86b44009ca08859379fdc95f67761..8d2d623289671280bae24ac9558af1915bb81c0b 100644 (file)
@@ -14,3 +14,5 @@ certU.ss
 Makefile.save
 tmp.bntest
 evptests.txt
+sha256t
+sha512t