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

« back to all changes in this revision

Viewing changes to src/lib/krb5/keytab/ktdefault.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:
1
1
/*
2
2
 * lib/krb5/keytab/ktdefault.c
3
3
 *
4
 
 * Copyright 1990 by the Massachusetts Institute of Technology.
 
4
 * Copyright 1990,2008 by the Massachusetts Institute of Technology.
5
5
 * All Rights Reserved.
6
6
 *
7
7
 * Export of this software from the United States of America may
30
30
#include "k5-int.h"
31
31
#include <stdio.h>
32
32
 
 
33
#ifndef LEAN_CLIENT
33
34
krb5_error_code KRB5_CALLCONV
34
35
krb5_kt_default(krb5_context context, krb5_keytab *id)
35
36
{
41
42
    return krb5_kt_resolve(context, defname, id);
42
43
}
43
44
 
44
 
 
 
45
#endif /* LEAN_CLIENT */
45
46