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

« back to all changes in this revision

Viewing changes to src/lib/krb5/rcache/rc_none.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/rc_none.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
22
23
 * M.I.T. makes no representations about the suitability of
23
24
 * this software for any purpose.  It is provided "as is" without express
24
25
 * or implied warranty.
25
 
 * 
 
26
 *
26
27
 *
27
28
 * replay cache no-op implementation
28
29
 */
42
43
{
43
44
    return 0;
44
45
}
45
 
#define krb5_rc_none_recover    krb5_rc_none_noargs
46
 
#define krb5_rc_none_destroy    krb5_rc_none_noargs
47
 
#define krb5_rc_none_close      krb5_rc_none_noargs
48
 
#define krb5_rc_none_expunge    krb5_rc_none_noargs
 
46
#define krb5_rc_none_recover    krb5_rc_none_noargs
 
47
#define krb5_rc_none_destroy    krb5_rc_none_noargs
 
48
#define krb5_rc_none_close      krb5_rc_none_noargs
 
49
#define krb5_rc_none_expunge    krb5_rc_none_noargs
49
50
 
50
51
static krb5_error_code KRB5_CALLCONV
51
52
krb5_rc_none_store(krb5_context ctx, krb5_rcache rc, krb5_donot_replay *r)