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

« back to all changes in this revision

Viewing changes to src/lib/krb5/rcache/rcfns.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
/* -*- mode: c; indent-tabs-mode: nil -*- */
1
2
/*
2
3
 * lib/krb5/rcache/rcfns.c
3
4
 *
8
9
 *   require a specific license from the United States Government.
9
10
 *   It is the responsibility of any person or organization contemplating
10
11
 *   export to obtain such a license before exporting.
11
 
 * 
 
12
 *
12
13
 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13
14
 * distribute this software and its documentation for any purpose and
14
15
 * without fee is hereby granted, provided that the above copyright
39
40
 
40
41
krb5_error_code KRB5_CALLCONV
41
42
krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id,
42
 
                               krb5_deltat span)
 
43
                               krb5_deltat span)
43
44
{
44
45
    return krb5_x(id->ops->recover_or_init,(context, id, span));
45
46
}
64
65
 
65
66
krb5_error_code KRB5_CALLCONV
66
67
krb5_rc_store (krb5_context context, krb5_rcache id,
67
 
               krb5_donot_replay *dontreplay)
 
68
               krb5_donot_replay *dontreplay)
68
69
{
69
70
    return krb5_x((id)->ops->store,(context, id, dontreplay));
70
71
}
77
78
 
78
79
krb5_error_code KRB5_CALLCONV
79
80
krb5_rc_get_lifespan (krb5_context context, krb5_rcache id,
80
 
                      krb5_deltat *spanp)
 
81
                      krb5_deltat *spanp)
81
82
{
82
83
    return krb5_x((id)->ops->get_span,(context, id, spanp));
83
84
}