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

« back to all changes in this revision

Viewing changes to src/util/mac/k5_mig_types.h

  • 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
/* $Copyright:
 
2
*
 
3
* Copyright 2004-2006 by the Massachusetts Institute of Technology.
 
4
 
5
* All rights reserved.
 
6
 
7
* Export of this software from the United States of America may require a
 
8
* specific license from the United States Government.  It is the
 
9
* responsibility of any person or organization contemplating export to
 
10
* obtain such a license before exporting.
 
11
 
12
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute
 
13
* this software and its documentation for any purpose and without fee is
 
14
* hereby granted, provided that the above copyright notice appear in all
 
15
* copies and that both that copyright notice and this permission notice
 
16
* appear in supporting documentation, and that the name of M.I.T. not be
 
17
* used in advertising or publicity pertaining to distribution of the
 
18
* software without specific, written prior permission.  Furthermore if you
 
19
* modify this software you must label your software as modified software
 
20
* and not distribute it in such a fashion that it might be confused with
 
21
* the original MIT software. M.I.T. makes no representations about the
 
22
* suitability of this software for any purpose.  It is provided "as is"
 
23
* without express or implied warranty.
 
24
 
25
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 
26
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 
27
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
28
 
29
* Individual source code files are copyright MIT, Cygnus Support,
 
30
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.
 
31
 
32
* Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
 
33
* and Zephyr are trademarks of the Massachusetts Institute of Technology
 
34
* (MIT).  No commercial use of these trademarks may be made without prior
 
35
* written permission of MIT.
 
36
 
37
* "Commercial use" means use of a name in a product or other for-profit
 
38
* manner.  It does NOT prevent a commercial firm from referring to the MIT
 
39
* trademarks in order to convey information (although in doing so,
 
40
* recognition of their trademark status should be given).
 
41
* $
 
42
*/
 
43
 
 
44
#ifndef K5_MIG_TYPES_H
 
45
#define K5_MIG_TYPES_H
 
46
 
 
47
#define K5_IPC_MAX_MSG_SIZE 2048 + MAX_TRAILER_SIZE
 
48
 
 
49
#define K5_MIG_LOOKUP_SUFFIX  ".ipcLookup"
 
50
#define K5_MIG_SERVICE_SUFFIX ".ipcService"
 
51
 
 
52
#define K5_IPC_MAX_INL_MSG_SIZE 1024
 
53
 
 
54
typedef const char  k5_ipc_inl_request_t[K5_IPC_MAX_INL_MSG_SIZE];
 
55
typedef const char *k5_ipc_ool_request_t;
 
56
typedef char        k5_ipc_inl_reply_t[K5_IPC_MAX_INL_MSG_SIZE];
 
57
typedef char       *k5_ipc_ool_reply_t;
 
58
 
 
59
#endif /* K5_MIG_TYPES_H */