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

« back to all changes in this revision

Viewing changes to src/lib/crypto/checksum_length.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
krb5_c_checksum_length(krb5_context context, krb5_cksumtype cksumtype,
32
32
                       size_t *length)
33
33
{
34
 
    int i;
 
34
    unsigned int i;
35
35
 
36
36
    for (i=0; i<krb5_cksumtypes_length; i++) {
37
37
        if (krb5_cksumtypes_list[i].ctype == cksumtype)