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

« back to all changes in this revision

Viewing changes to src/lib/crypto/hash_provider/hash_sha1.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:
40
40
 
41
41
    shsInit(&ctx);
42
42
    for (i=0; i<icount; i++)
43
 
        shsUpdate(&ctx, (unsigned char *) input[i].data, (int) input[i].length);
 
43
        shsUpdate(&ctx, (unsigned char *) input[i].data, input[i].length);
44
44
    shsFinal(&ctx);
45
45
 
46
46
    for (i=0; i<(sizeof(ctx.digest)/sizeof(ctx.digest[0])); i++) {