~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/lib/crypto/sha1/t_shs3.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
357
357
        } sdata;
358
358
        unsigned char digest[SHS_DIGESTSIZE];
359
359
        int failed;
360
 
        int i, j;
 
360
        unsigned int i, j;
361
361
 
362
362
        printf("Running SHS test 6 ...\n");
363
363
        sdata.pad1 = 0x12345678;
470
470
0x89,0x41,0x65,0xce,0x76,0xc1,0xd1,0xd1,0xc3,0x6f,
471
471
0xab,0x92,0x79,0x30,0x01,0x71,0x63,0x1f,0x74,0xfe};
472
472
 
473
 
int jfsize[] = {0,1,31,32,
 
473
unsigned int jfsize[] = {0,1,31,32,
474
474
        33,55,56,63,
475
475
        64,65,71,72,
476
476
        73,95,96,97,
477
477
        119,120,123,127};
478
 
int kfsize[] = {0,1,31,32,33,55,56,63};
 
478
unsigned int kfsize[] = {0,1,31,32,33,55,56,63};
479
479
 
480
480
static void test7(void)
481
481
{
488
488
        } sdata;
489
489
        unsigned char digest[SHS_DIGESTSIZE];
490
490
        int failed;
491
 
        int i, j, k, l;
 
491
        unsigned int i, j, k, l;
492
492
 
493
493
        printf("Running SHS test 7 ...\n");
494
494
        sdata.pad1 = 0x12345678;