adm_defs.h
adm_proto.h
asn.1
-asn1.h
autoconf.h.in
configure
configure.in
copyright.h
-dbm.h
-ext-proto.h
-k5-config.h
-k5-errors.h
kdb.h
kdb_dbm.h
-libos.h
-los-proto.h
macsock.h
-mit-des.h
-preauth.h
-rsa-md5.h
stock
-sysincl.h
winsock.h
Things-to-lose:
+Thu Jul 27 15:06:35 EDT 1995 Paul Park (pjpark@mit.edu)
+ * {asn1,dbm,ext-proto,k5-{config,errors,sockets},libos,los-proto,
+ mit-des,preauth,rsa-md5,sysincl}.h - Deleted.
+ * Makefile.in - Remove these headers from KRB5_HEADERS.
+ * configure.in - Change AC_INIT to look for kdb.h.
+
+
Thu Jul 27 02:59:05 1995 Chris Provenzano (proven@mit.edu)
* kdb.h - Define new kdb format.
##DOSBUILDTOP = ..\..
##DOS!include $(BUILDTOP)\config\windows.in
-KRB5_HEADERS = adm.h adm_proto.h asn1.h ext-proto.h k5-config.h k5-errors.h \
- kdb.h kdb_dbm.h libos.h los-proto.h mit-des.h preauth.h \
- rsa-md5.h sysincl.h winsock.h
+KRB5_HEADERS = adm.h adm_proto.h kdb.h kdb_dbm.h winsock.h
# these are installed here for the build from lib/krb5/error_tables but
# also need to be in the installed tree
+++ /dev/null
-/*
- * include/krb5/asn1.h
- *
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * meta-include file for KRB5 asn.1/ISODE stuff
- */
-
-#ifndef KRB5_ASN1__
-#define KRB5_ASN1__
-
-/* ASN.1 encoding knowledge; KEEP IN SYNC WITH ASN.1 defs! */
-/* here we use some knowledge of ASN.1 encodings */
-/*
- Ticket is APPLICATION 1.
- Authenticator is APPLICATION 2.
- AS_REQ is APPLICATION 10.
- AS_REP is APPLICATION 11.
- TGS_REQ is APPLICATION 12.
- TGS_REP is APPLICATION 13.
- AP_REQ is APPLICATION 14.
- AP_REP is APPLICATION 15.
- KRB_SAFE is APPLICATION 20.
- KRB_PRIV is APPLICATION 21.
- KRB_CRED is APPLICATION 22.
- EncASRepPart is APPLICATION 25.
- EncTGSRepPart is APPLICATION 26.
- EncAPRepPart is APPLICATION 27.
- EncKrbPrivPart is APPLICATION 28.
- EncKrbCredPart is APPLICATION 29.
- KRB_ERROR is APPLICATION 30.
- */
-/* allow either constructed or primitive encoding, so check for bit 6
- set or reset */
-#define krb5_is_krb_ticket(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x61 ||\
- (dat)->data[0] == 0x41))
-#define krb5_is_krb_authenticator(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x62 ||\
- (dat)->data[0] == 0x42))
-#define krb5_is_as_req(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6a ||\
- (dat)->data[0] == 0x4a))
-#define krb5_is_as_rep(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6b ||\
- (dat)->data[0] == 0x4b))
-#define krb5_is_tgs_req(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6c ||\
- (dat)->data[0] == 0x4c))
-#define krb5_is_tgs_rep(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6d ||\
- (dat)->data[0] == 0x4d))
-#define krb5_is_ap_req(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6e ||\
- (dat)->data[0] == 0x4e))
-#define krb5_is_ap_rep(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x6f ||\
- (dat)->data[0] == 0x4f))
-#define krb5_is_krb_safe(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x74 ||\
- (dat)->data[0] == 0x54))
-#define krb5_is_krb_priv(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x75 ||\
- (dat)->data[0] == 0x55))
-#define krb5_is_krb_cred(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x76 ||\
- (dat)->data[0] == 0x56))
-#define krb5_is_krb_enc_as_rep_part(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x79 ||\
- (dat)->data[0] == 0x59))
-#define krb5_is_krb_enc_tgs_rep_part(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x7a ||\
- (dat)->data[0] == 0x5a))
-#define krb5_is_krb_enc_ap_rep_part(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x7b ||\
- (dat)->data[0] == 0x5b))
-#define krb5_is_krb_enc_krb_priv_part(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x7c ||\
- (dat)->data[0] == 0x5c))
-#define krb5_is_krb_enc_krb_cred_part(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x7d ||\
- (dat)->data[0] == 0x5d))
-#define krb5_is_krb_error(dat)\
- ((dat) && (dat)->length && ((dat)->data[0] == 0x7e ||\
- (dat)->data[0] == 0x5e))
-
-/*************************************************************************
- * Prototypes for krb5_encode.c
- *************************************************************************/
-
-/*
- krb5_error_code encode_krb5_structure(const krb5_structure *rep,
- krb5_data **code);
- modifies *code
- effects Returns the ASN.1 encoding of *rep in **code.
- Returns ASN1_MISSING_FIELD if a required field is emtpy in *rep.
- Returns ENOMEM if memory runs out.
-*/
-
-krb5_error_code encode_krb5_authenticator
- KRB5_PROTOTYPE((const krb5_authenticator *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_ticket
- KRB5_PROTOTYPE((const krb5_ticket *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_encryption_key
- KRB5_PROTOTYPE((const krb5_keyblock *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_enc_tkt_part
- KRB5_PROTOTYPE((const krb5_enc_tkt_part *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_enc_kdc_rep_part
- KRB5_PROTOTYPE((const krb5_enc_kdc_rep_part *rep, krb5_data **code));
-
-/* yes, the translation is identical to that used for KDC__REP */
-krb5_error_code encode_krb5_as_rep
- KRB5_PROTOTYPE((const krb5_kdc_rep *rep, krb5_data **code));
-
-/* yes, the translation is identical to that used for KDC__REP */
-krb5_error_code encode_krb5_tgs_rep
- KRB5_PROTOTYPE((const krb5_kdc_rep *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_ap_req
- KRB5_PROTOTYPE((const krb5_ap_req *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_ap_rep
- KRB5_PROTOTYPE((const krb5_ap_rep *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_ap_rep_enc_part
- KRB5_PROTOTYPE((const krb5_ap_rep_enc_part *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_as_req
- KRB5_PROTOTYPE((const krb5_kdc_req *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_tgs_req
- KRB5_PROTOTYPE((const krb5_kdc_req *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_kdc_req_body
- KRB5_PROTOTYPE((const krb5_kdc_req *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_safe
- KRB5_PROTOTYPE((const krb5_safe *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_priv
- KRB5_PROTOTYPE((const krb5_priv *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_enc_priv_part
- KRB5_PROTOTYPE((const krb5_priv_enc_part *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_cred
- KRB5_PROTOTYPE((const krb5_cred *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_enc_cred_part
- KRB5_PROTOTYPE((const krb5_cred_enc_part *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_error
- KRB5_PROTOTYPE((const krb5_error *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_authdata
- KRB5_PROTOTYPE((const krb5_authdata **rep, krb5_data **code));
-
-krb5_error_code encode_krb5_pwd_sequence
- KRB5_PROTOTYPE((const passwd_phrase_element *rep, krb5_data **code));
-
-krb5_error_code encode_krb5_pwd_data
- KRB5_PROTOTYPE((const krb5_pwd_data *rep, krb5_data **code));
-
-/*************************************************************************
- * End of prototypes for krb5_encode.c
- *************************************************************************/
-
-
-/*************************************************************************
- * Prototypes for krb5_decode.c
- *************************************************************************/
-
-/*
- krb5_error_code decode_krb5_structure(const krb5_data *code,
- krb5_structure **rep);
-
- requires Expects **rep to not have been allocated;
- a new *rep is allocated regardless of the old value.
- effects Decodes *code into **rep.
- Returns ENOMEM if memory is exhausted.
- Returns asn1 and krb5 errors.
-*/
-
-krb5_error_code decode_krb5_authenticator
- KRB5_PROTOTYPE((const krb5_data *code, krb5_authenticator **rep));
-
-krb5_error_code decode_krb5_ticket
- KRB5_PROTOTYPE((const krb5_data *code, krb5_ticket **rep));
-
-krb5_error_code decode_krb5_encryption_key
- KRB5_PROTOTYPE((const krb5_data *output, krb5_keyblock **rep));
-
-krb5_error_code decode_krb5_enc_tkt_part
- KRB5_PROTOTYPE((const krb5_data *output, krb5_enc_tkt_part **rep));
-
-krb5_error_code decode_krb5_enc_kdc_rep_part
- KRB5_PROTOTYPE((const krb5_data *output, krb5_enc_kdc_rep_part **rep));
-
-krb5_error_code decode_krb5_as_rep
- KRB5_PROTOTYPE((const krb5_data *output, krb5_kdc_rep **rep));
-
-krb5_error_code decode_krb5_tgs_rep
- KRB5_PROTOTYPE((const krb5_data *output, krb5_kdc_rep **rep));
-
-krb5_error_code decode_krb5_ap_req
- KRB5_PROTOTYPE((const krb5_data *output, krb5_ap_req **rep));
-
-krb5_error_code decode_krb5_ap_rep
- KRB5_PROTOTYPE((const krb5_data *output, krb5_ap_rep **rep));
-
-krb5_error_code decode_krb5_ap_rep_enc_part
- KRB5_PROTOTYPE((const krb5_data *output, krb5_ap_rep_enc_part **rep));
-
-krb5_error_code decode_krb5_as_req
- KRB5_PROTOTYPE((const krb5_data *output, krb5_kdc_req **rep));
-
-krb5_error_code decode_krb5_tgs_req
- KRB5_PROTOTYPE((const krb5_data *output, krb5_kdc_req **rep));
-
-krb5_error_code decode_krb5_kdc_req_body
- KRB5_PROTOTYPE((const krb5_data *output, krb5_kdc_req **rep));
-
-krb5_error_code decode_krb5_safe
- KRB5_PROTOTYPE((const krb5_data *output, krb5_safe **rep));
-
-krb5_error_code decode_krb5_priv
- KRB5_PROTOTYPE((const krb5_data *output, krb5_priv **rep));
-
-krb5_error_code decode_krb5_enc_priv_part
- KRB5_PROTOTYPE((const krb5_data *output, krb5_priv_enc_part **rep));
-
-krb5_error_code decode_krb5_cred
- KRB5_PROTOTYPE((const krb5_data *output, krb5_cred **rep));
-
-krb5_error_code decode_krb5_enc_cred_part
- KRB5_PROTOTYPE((const krb5_data *output, krb5_cred_enc_part **rep));
-
-krb5_error_code decode_krb5_error
- KRB5_PROTOTYPE((const krb5_data *output, krb5_error **rep));
-
-krb5_error_code decode_krb5_authdata
- KRB5_PROTOTYPE((const krb5_data *output, krb5_authdata ***rep));
-
-krb5_error_code decode_krb5_pwd_sequence
- KRB5_PROTOTYPE((const krb5_data *output, passwd_phrase_element **rep));
-
-krb5_error_code decode_krb5_pwd_data
- KRB5_PROTOTYPE((const krb5_data *output, krb5_pwd_data **rep));
-
-/*************************************************************************
- * End of prototypes for krb5_decode.c
- *************************************************************************/
-
-#endif /* KRB5_ASN1__ */
-AC_INIT(ext-proto.h)
+AC_INIT(kdb.h)
CONFIG_RULES
AC_CONFIG_HEADER(autoconf.h)
AC_PROG_LEX
+++ /dev/null
-/*
- * include/krb5/dbm.h
- *
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * DBM/NDBM include file; deals with converting old-style to new-style.
- */
-
-
-#ifndef KRB5_DBM_COMPAT__
-#define KRB5_DBM_COMPAT__
-
-#include "osconf.h"
-
-#ifndef ODBM
-#include <ndbm.h>
-#else /* ODBM */
-#ifdef unicos61
-#include <rpcsvc/dbm.h>
-#else
-#include <dbm.h>
-#endif
-#endif /*ODBM */
-
-#ifndef ODBM
-#define dbm_next(db,key) dbm_nextkey(db)
-#else /* OLD DBM */
-typedef char DBM;
-
-/* Macros to convert ndbm names to dbm names.
- * Note that dbm_nextkey() cannot be simply converted using a macro, since
- * it is invoked giving the database, and nextkey() needs the previous key.
- *
- * Instead, all routines call "dbm_next" instead.
- */
-
-#define dbm_open(file, flags, mode) ((dbminit(file) == 0)?"":((char *)0))
-#define dbm_fetch(db, key) fetch(key)
-#define dbm_store(db, key, content, flag) store(key, content)
-#define dbm_delete(db, key) delete(key)
-#define dbm_firstkey(db) firstkey()
-#define dbm_next(db,key) nextkey(key)
-#define dbm_close(db) dbmclose()
-#endif /* OLD DBM */
-
-#endif /* KRB5_DBM_COMPAT__ */
+++ /dev/null
-/*
- * include/krb5/ext-proto.h
- *
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * Prototypes for external (libc) funtions.
- */
-
-
-#ifndef KRB5_EXT_PROTO__
-#define KRB5_EXT_PROTO__
-
-#ifdef HAS_STDLIB_H
-#include <stdlib.h>
-#else
-#if defined(__STDC__) || defined(_WINDOWS)
-#ifdef NO_STDLIB_H
-#include <fake-stdlib.h>
-#else
-#include <stdlib.h>
-#endif /* NO_STDLIB_H */
-#else
-extern char *malloc(), *realloc(), *calloc();
-extern char *getenv();
-#endif /* ! __STDC__ */
-#endif /* HAS_STDLIB_H */
-
-#ifdef USE_STRING_H
-#include <string.h>
-#else
-#include <strings.h>
-#endif
-
-#ifndef HAS_STRDUP
-extern char *strdup KRB5_PROTOTYPE((const char *));
-#endif
-
-#ifdef HAS_UNISTD_H
-#include <unistd.h>
-#endif
-
-#endif /* KRB5_EXT_PROTO__ */
+++ /dev/null
-/*
- * Copyright 1990,1991,1994,1995 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- * Configuration definition file.
- */
-
-
-#ifndef KRB5_CONFIG__
-#define KRB5_CONFIG__
-
-#ifdef _MSDOS
-/*
- * Machine-type definitions: PC Clone 386 running Microloss Windows
- */
-
-/* Kerberos Windows initialization file */
-#define KERBEROS_INI "kerberos.ini"
-#define INI_FILES "Files"
-#define INI_KRB_CCACHE "krb5cc" /* Location of the ccache */
-#define INI_KRB5_CONF "krb5.ini" /* Location of krb5.conf file */
-
-#define KRB5_DBM_COMPAT__ /* Don't load dbm.h */
-#define KRB5_KDB5__ /* Don't load kdb.h */
-#define KRB5_KDB5_DBM__ /* Don't load kdb_dbm.h */
-
-#define BITS16
-#define SIZEOF_INT 2
-#define SIZEOF_SHORT 2
-#define SIZEOF_LONG 4
-#define MAXHOSTNAMELEN 512
-#define MAXPATHLEN 256 /* Also for Windows temp files */
-
-#define KRB5_USE_INET
-#define MSDOS_FILESYSTEM
-#define USE_STRING_H
-#define HAVE_SRAND
-#define HAVE_ERRNO
-#define HAS_STRDUP
-#define NO_USERID
-#define NOFCHMOD
-#define NOCHMOD
-#define NO_PASSWORD
-#define WM_KERBEROS5_CHANGED "Kerberos5 Changed"
-
-#define HAS_ANSI_VOLATILE
-#define HAS_VOID_TYPE
-#define KRB5_PROVIDE_PROTOTYPES
-#define HAVE_STDARG_H
-#define HAVE_SYS_TYPES_H
-
-#ifndef _SIZE_T_DEFINED
-typedef unsigned int size_t;
-#define _SIZE_T_DEFINED
-#endif
-
-#ifndef KRB5_SYSTYPES__
-#define KRB5_SYSTYPES__
-#include <sys/types.h>
-typedef unsigned long u_long; /* Not part of sys/types.h on the pc */
-typedef unsigned int u_int;
-typedef unsigned short u_short;
-typedef unsigned char u_char;
-#endif /* KRB5_SYSTYPES__ */
-
-#ifndef INTERFACE
-#define INTERFACE __far __export __pascal
-#define INTERFACE_C __far __export __cdecl
-#endif
-
-/*
- * The following defines are needed to make <windows.h> work
- * in stdc mode (/Za flag). Winsock.h needs <windows.h>.
- */
-#define FAR _far
-#define NEAR _near
-#define _far __far
-#define _near __near
-#define _pascal __pascal
-#define _cdecl __cdecl
-#define _huge __huge
-
-#ifdef NEED_WINDOWS
-#include <windows.h>
-#endif
-
-#ifdef NEED_LOWLEVEL_IO
-/* Ugly. Microsoft, in stdc mode, doesn't support the low-level i/o
- * routines directly. Rather, they only export the _<function> version.
- * The following defines works around this problem.
- */
-#include <sys\types.h>
-#include <sys\stat.h>
-#include <fcntl.h>
-#include <io.h>
-#include <process.h>
-#define O_RDONLY _O_RDONLY
-#define O_WRONLY _O_WRONLY
-#define O_RDWR _O_RDWR
-#define O_APPEND _O_APPEND
-#define O_CREAT _O_CREAT
-#define O_TRUNC _O_TRUNC
-#define O_EXCL _O_EXCL
-#define O_TEXT _O_TEXT
-#define O_BINARY _O_BINARY
-#define O_NOINHERIT _O_NOINHERIT
-#define stat _stat
-#define unlink _unlink
-#define lseek _lseek
-#define write _write
-#define open _open
-#define close _close
-#define read _read
-#define fstat _fstat
-#define mktemp _mktemp
-#define dup _dup
-
-#define getpid _getpid
-#endif
-
-#ifdef NEED_SYSERROR
-/* Only needed by util/et/error_message.c but let's keep the source clean */
-#define sys_nerr _sys_nerr
-#define sys_errlist _sys_errlist
-#endif
-
-/* XXX these should be parameterized soon... */
-#define PROVIDE_DES_CBC_MD5
-#define PROVIDE_DES_CBC_CRC
-#define PROVIDE_RAW_DES_CBC
-#define PROVIDE_CRC32
-#define PROVIDE_DES_CBC_CKSUM
-#define PROVIDE_RSA_MD4
-#define PROVIDE_RSA_MD5
-#define DEFAULT_PWD_STRING1 "Enter password:"
-#define DEFAULT_PWD_STRING2 "Re-enter password for verification:"
-
-/* Functions with slightly different names on the PC
-*/
-#define strcasecmp _stricmp
-#define strdup _strdup
-#define off_t _off_t
-
-#else /* Rest of include file is for non-Microloss-Windows */
-
-#if defined(_MACINTOSH)
-
-#ifdef NEED_LOWLEVEL_IO
-#include <fcntl.h>
-#endif
-
-/* there is no <stat.h> for mpw */
-typedef unsigned long mode_t;
-typedef unsigned long ino_t;
-typedef unsigned long dev_t;
-typedef short nlink_t;
-typedef unsigned long uid_t;
-typedef unsigned long gid_t;
-typedef long off_t;
-struct stat
-{
- mode_t st_mode; /* File mode; see #define's below */
- ino_t st_ino; /* File serial number */
- dev_t st_dev; /* ID of device containing this file */
- nlink_t st_nlink; /* Number of links */
- uid_t st_uid; /* User ID of the file's owner */
- gid_t st_gid; /* Group ID of the file's group */
- dev_t st_rdev; /* Device type */
- off_t st_size; /* File size in bytes */
- unsigned long st_atime; /* Time of last access */
- unsigned long st_mtime; /* Time of last data modification */
- unsigned long st_ctime; /* Time of last file status change */
- long st_blksize; /* Optimal blocksize */
- long st_blocks; /* blocks allocated for file */
-};
-
-int stat(const char *path, struct stat *buf);
-int fstat(int fildes, struct stat *buf);
-
-#define EFBIG 1000
-#define OLD_CONFIG_FILES
-#define PROF_NO_SECTION 1
-#define PROF_NO_RELATION 2
-#define KRB5_REALM_CANT_RESOLVE 1
-
-#define NOFCHMOD 1
-#define NOCHMOD 1
-#define _MACSOCKAPI_
-
-#define THREEPARAMOPEN(x,y,z) open(x,y)
-#else /* _MACINTOSH */
-#define THREEPARAMOPEN(x,y,z) open(x,y,z)
-#endif /* _MACINTOSH */
-
-#ifndef KRB5_AUTOCONF__
-#define KRB5_AUTOCONF__
-#include "autoconf.h"
-#endif
-
-#ifndef KRB5_SYSTYPES__
-#define KRB5_SYSTYPES__
-
-#ifdef HAVE_SYS_TYPES_H /* From autoconf.h */
-#include <sys/types.h>
-#else /* HAVE_SYS_TYPES_H */
-typedef unsigned long u_long;
-typedef unsigned int u_int;
-typedef unsigned short u_short;
-typedef unsigned char u_char;
-#endif /* HAVE_SYS_TYPES_H */
-#endif /* KRB5_SYSTYPES__ */
-
-#ifdef SYSV
-/* Change srandom and random to use rand and srand */
-/* Taken from the Sandia changes. XXX We should really just include */
-/* srandom and random into Kerberos release, since rand() is a really */
-/* bad random number generator.... [tytso:19920616.2231EDT] */
-#define random() rand()
-#define srandom(a) srand(a)
-#ifndef unicos61
-#define utimes(a,b) utime(a,b)
-#endif /* unicos61 */
-#endif /* SYSV */
-
-/* XXX these should be parameterized soon... */
-#define PROVIDE_DES_CBC_MD5
-#define PROVIDE_DES_CBC_CRC
-#define PROVIDE_RAW_DES_CBC
-#define PROVIDE_CRC32
-#define PROVIDE_DES_CBC_CKSUM
-#define PROVIDE_RSA_MD4
-#define PROVIDE_RSA_MD5
-
-#define DEFAULT_PWD_STRING1 "Enter password:"
-#define DEFAULT_PWD_STRING2 "Re-enter password for verification:"
-
-#define KRB5_KDB_MAX_LIFE (60*60*24) /* one day */
-#define KRB5_KDB_MAX_RLIFE (60*60*24*7) /* one week */
-#define KRB5_KDB_EXPIRATION 2145830400 /* Thu Jan 1 00:00:00 2038 UTC */
-
-/*
- * For paranoid DOE types that don't want to give helpful error
- * messages to the client....er, attacker
- */
-#undef KRBCONF_VAGUE_ERRORS
-
-/*
- * Define this if you want the KDC to modify the Kerberos database;
- * this allows the last request information to be updated, as well as
- * the failure count information.
- *
- * Note that this doesn't work if you're using slave servers!!! It
- * also causes the database to be modified (and thus need to be
- * locked) frequently.
- */
-#undef KRBCONF_KDC_MODIFIES_KDB
-
-/*
- * Windows requires a different api interface to each function. Here
- * just define it as NULL.
- */
-#define INTERFACE
-#define INTERFACE_C
-#define FAR
-#define NEAR
-#ifndef O_BINARY
-#define O_BINARY 0
-#endif
-
-#ifndef HAS_LABS
-#define labs(x) abs(x)
-#endif
-
-#endif /* _MSDOS */
-#endif /* KRB5_CONFIG__ */
+++ /dev/null
-/*
- * include/krb5/errors.h
- *
- * Copyright 1989,1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * Protocol error code definitions
- */
-
-
-#ifndef KRB5_ERRORS__
-#define KRB5_ERRORS__
-
-
-/* Error codes used in KRB_ERROR protocol messages.
- Return values of library routines are based on a different error table
- (which allows non-ambiguous error codes between subsystems) */
-
-/* KDC errors */
-#define KDC_ERR_NONE 0 /* No error */
-#define KDC_ERR_NAME_EXP 1 /* Client's entry in DB expired */
-#define KDC_ERR_SERVICE_EXP 2 /* Server's entry in DB expired */
-#define KDC_ERR_BAD_PVNO 3 /* Requested pvno not supported */
-#define KDC_ERR_C_OLD_MAST_KVNO 4 /* C's key encrypted in old master */
-#define KDC_ERR_S_OLD_MAST_KVNO 5 /* S's key encrypted in old master */
-#define KDC_ERR_C_PRINCIPAL_UNKNOWN 6 /* Client not found in Kerberos DB */
-#define KDC_ERR_S_PRINCIPAL_UNKNOWN 7 /* Server not found in Kerberos DB */
-#define KDC_ERR_PRINCIPAL_NOT_UNIQUE 8 /* Multiple entries in Kerberos DB */
-#define KDC_ERR_NULL_KEY 9 /* The C or S has a null key */
-#define KDC_ERR_CANNOT_POSTDATE 10 /* Tkt ineligible for postdating */
-#define KDC_ERR_NEVER_VALID 11 /* Requested starttime > endtime */
-#define KDC_ERR_POLICY 12 /* KDC policy rejects request */
-#define KDC_ERR_BADOPTION 13 /* KDC can't do requested opt. */
-#define KDC_ERR_ETYPE_NOSUPP 14 /* No support for encryption type */
-#define KDC_ERR_SUMTYPE_NOSUPP 15 /* No support for checksum type */
-#define KDC_ERR_PADATA_TYPE_NOSUPP 16 /* No support for padata type */
-#define KDC_ERR_TRTYPE_NOSUPP 17 /* No support for transited type */
-#define KDC_ERR_CLIENT_REVOKED 18 /* C's creds have been revoked */
-#define KDC_ERR_SERVICE_REVOKED 19 /* S's creds have been revoked */
-#define KDC_ERR_TGT_REVOKED 20 /* TGT has been revoked */
-#define KDC_ERR_CLIENT_NOTYET 21 /* C not yet valid */
-#define KDC_ERR_SERVICE_NOTYET 22 /* S not yet valid */
-#define KDC_ERR_KEY_EXP 23 /* Password has expired */
-#define KDC_ERR_PREAUTH_FAILED 24 /* Preauthentication failed */
-#define KDC_ERR_PREAUTH_REQUIRED 25 /* Additional preauthentication */
- /* required */
-#define KDC_ERR_SERVER_NOMATCH 26 /* Requested server and */
- /* ticket don't match*/
-/* Application errors */
-#define KRB_AP_ERR_BAD_INTEGRITY 31 /* Decrypt integrity check failed */
-#define KRB_AP_ERR_TKT_EXPIRED 32 /* Ticket expired */
-#define KRB_AP_ERR_TKT_NYV 33 /* Ticket not yet valid */
-#define KRB_AP_ERR_REPEAT 34 /* Request is a replay */
-#define KRB_AP_ERR_NOT_US 35 /* The ticket isn't for us */
-#define KRB_AP_ERR_BADMATCH 36 /* Ticket/authenticator don't match */
-#define KRB_AP_ERR_SKEW 37 /* Clock skew too great */
-#define KRB_AP_ERR_BADADDR 38 /* Incorrect net address */
-#define KRB_AP_ERR_BADVERSION 39 /* Protocol version mismatch */
-#define KRB_AP_ERR_MSG_TYPE 40 /* Invalid message type */
-#define KRB_AP_ERR_MODIFIED 41 /* Message stream modified */
-#define KRB_AP_ERR_BADORDER 42 /* Message out of order */
-#define KRB_AP_ERR_BADKEYVER 44 /* Key version is not available */
-#define KRB_AP_ERR_NOKEY 45 /* Service key not available */
-#define KRB_AP_ERR_MUT_FAIL 46 /* Mutual authentication failed */
-#define KRB_AP_ERR_BADDIRECTION 47 /* Incorrect message direction */
-#define KRB_AP_ERR_METHOD 48 /* Alternative authentication */
- /* method required */
-#define KRB_AP_ERR_BADSEQ 49 /* Incorrect sequence numnber */
- /* in message */
-#define KRB_AP_ERR_INAPP_CKSUM 50 /* Inappropriate type of */
- /* checksum in message */
-
-/* other errors */
-#define KRB_ERR_GENERIC 60 /* Generic error (description */
- /* in e-text) */
-#define KRB_ERR_FIELD_TOOLONG 61 /* Field is too long for impl. */
-
-#endif /* KRB5_ERRORS__ */
+++ /dev/null
-/*
- * Copyright 1990,1991,1994,1995 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- * Sockets interface header file
- */
-
-#ifdef _MSDOS
-
-#include <winsock.h>
-
-/* Some of our own infrastructure where the WinSock stuff was too hairy
- to dump into a clean Unix program... */
-
-#define SOCKET_INITIALIZE() win_socket_initialize()
-#define SOCKET_CLEANUP() WSACleanup()
-#define SOCKET_ERRNO (WSAGetLastError())
-#define SOCKET_SET_ERRNO(x) (WSASetLastError (x))
-#define SOCKET_NFDS(f) (0) /* select()'s first arg is ignored */
-#define SOCKET_READ(fd, b, l) (recv(fd, b, l, 0))
-#define SOCKET_WRITE(fd, b, l) (send(fd, b, l, 0))
-#define SOCKET_EINTR WSAEINTR
-
-int win_socket_initialize();
-
-#else /* not _MSDOS */
-
-/* If this source file requires it, define struct sockaddr_in
- (and possibly other things related to network I/O). */
-
-#ifdef HAVE_MACSOCK_H /* Sockets stuff differs on Mac */
-#include "macsock.h" /* Macintosh sockets emulation library */
-
-/* Some of our own infrastructure where the WinSock stuff was too hairy
- to dump into a clean Unix program... */
-
-#define SOCKET_INITIALIZE() (WSAStartup(0x0101, (WSADATA *)0))
-#define SOCKET_CLEANUP() (WSACleanup())
-#define SOCKET_ERRNO (WSAGetLastError())
-#define SOCKET_SET_ERRNO(x) (WSASetLastError(x))
-#define SOCKET_NFDS(f) (0) /* select()'s first arg is ignored */
-#define SOCKET_READ(fd, b, l) (recv(fd, b, l, 0))
-#define SOCKET_WRITE(fd, b, l) (send(fd, b, l, 0))
-#define SOCKET_EINTR WSAEINTR
-
-#else /* ! HAVE_MACSOCK_H */ /* Sockets stuff for Unix machines */
-
-#include <netinet/in.h> /* For struct sockaddr_in and in_addr */
-#include <arpa/inet.h> /* For inet_ntoa */
-#include <netdb.h> /* For struct hostent, gethostbyname, etc */
-#include <sys/param.h> /* For MAXHOSTNAMELEN */
-#include <sys/socket.h> /* For SOCK_*, AF_*, etc */
-#include <sys/time.h> /* For struct timeval */
-#include <net/if.h> /* For struct ifconf, for localaddr.c */
-
-/*
- * Compatability with WinSock calls on MS-Windows...
- */
-#define SOCKET unsigned int
-#define INVALID_SOCKET ((SOCKET)~0)
-#define closesocket close
-#define ioctlsocket ioctl
-#define SOCKET_ERROR (-1)
-
-/* Some of our own infrastructure where the WinSock stuff was too hairy
- to dump into a clean Unix program... */
-
-#define SOCKET_INITIALIZE() (0) /* No error (or anything else) */
-#define SOCKET_CLEANUP() /* nothing */
-#define SOCKET_ERRNO errno
-#define SOCKET_SET_ERRNO(x) (errno = (x))
-#define SOCKET_NFDS(f) ((f)+1) /* select() arg for a single fd */
-#define SOCKET_READ read
-#define SOCKET_WRITE write
-#define SOCKET_EINTR EINTR
-
-#endif /* HAVE_MACSOCK_H */
-
-#endif /* _MSDOS */
+++ /dev/null
-/*
- * include/krb5/libos.h
- *
- * Copyright 1989,1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * Definitions for this implementation of the libos layer.
- */
-
-
-#ifndef KRB5_LIBOS__
-#define KRB5_LIBOS__
-
-typedef struct _krb5_os_context {
- krb5_magic magic;
-} *krb5_os_context;
-
-/* lock mode flags */
-#define KRB5_LOCKMODE_SHARED 0x0001
-#define KRB5_LOCKMODE_EXCLUSIVE 0x0002
-#define KRB5_LOCKMODE_DONTBLOCK 0x0004
-#define KRB5_LOCKMODE_UNLOCK 0x0008
-
-#endif /* KRB5_LIBOS__ */
+++ /dev/null
-/*
- * include/krb5/los-proto.h
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * Function prototypes for Kerberos V5 library (libos)
- */
-
-#ifndef KRB5_LIBOS_PROTO__
-#define KRB5_LIBOS_PROTO__
-
-#include <stdio.h>
-
-/* libos.spec */
-krb5_error_code krb5_read_password
- KRB5_PROTOTYPE((krb5_context,
- const char *,
- const char *,
- char *,
- int * ));
-krb5_error_code krb5_lock_file
- KRB5_PROTOTYPE((krb5_context,
- FILE *,
- char *,
- int ));
-krb5_error_code krb5_unlock_file
- KRB5_PROTOTYPE((krb5_context,
- FILE *,
- char * ));
-int krb5_net_read
- KRB5_PROTOTYPE((krb5_context,
- int ,
- char *,
- int ));
-int krb5_net_write
- KRB5_PROTOTYPE((krb5_context,
- int ,
- const char *,
- int ));
-krb5_error_code krb5_sendto_kdc
- KRB5_PROTOTYPE((krb5_context,
- const krb5_data *,
- const krb5_data *,
- krb5_data * ));
-krb5_error_code krb5_get_krbhst
- KRB5_PROTOTYPE((krb5_context,
- const krb5_data *,
- char *** ));
-krb5_error_code krb5_free_krbhst
- KRB5_PROTOTYPE((krb5_context,
- char * const * ));
-krb5_error_code krb5_aname_to_localname
- KRB5_PROTOTYPE((krb5_context,
- krb5_const_principal,
- const int,
- char * ));
-krb5_error_code krb5_get_host_realm
- KRB5_PROTOTYPE((krb5_context,
- const char *,
- char *** ));
-krb5_error_code krb5_free_host_realm
- KRB5_PROTOTYPE((krb5_context,
- char * const * ));
-krb5_error_code krb5_get_realm_domain
- KRB5_PROTOTYPE((krb5_context,
- const char *,
- char ** ));
-krb5_boolean krb5_kuserok
- KRB5_PROTOTYPE((krb5_context,
- krb5_principal, const char *));
-krb5_error_code krb5_random_confounder
- KRB5_PROTOTYPE((int,
- krb5_pointer ));
-krb5_error_code krb5_gen_replay_name
- KRB5_PROTOTYPE((krb5_context,
- const krb5_address *,
- const char *,
- char **));
-krb5_error_code INTERFACE krb5_auth_con_genaddrs
- KRB5_PROTOTYPE((krb5_context,
- krb5_auth_context,
- int, int));
-krb5_error_code krb5_gen_portaddr
- KRB5_PROTOTYPE((krb5_context,
- const krb5_address *,
- krb5_const_pointer,
- krb5_address **));
-krb5_error_code krb5_create_secure_file
- KRB5_PROTOTYPE((krb5_context,
- const char * pathname));
-krb5_error_code krb5_sync_disk_file
- KRB5_PROTOTYPE((krb5_context,
- FILE *fp));
-
-
-krb5_error_code krb5_read_message
- KRB5_PROTOTYPE((krb5_context,
- krb5_pointer,
- krb5_data *));
-krb5_error_code krb5_write_message
- KRB5_PROTOTYPE((krb5_context,
- krb5_pointer,
- krb5_data *));
-
-krb5_error_code krb5_os_init_context
- KRB5_PROTOTYPE((krb5_context));
-
-void krb5_os_free_context
- KRB5_PROTOTYPE((krb5_context));
-
-krb5_error_code krb5_find_config_files
- KRB5_PROTOTYPE(());
-
-krb5_error_code krb5_make_fulladdr
- KRB5_PROTOTYPE((krb5_context,
- krb5_address *,
- krb5_address *,
- krb5_address *));
-
-time_t gmt_mktime KRB5_PROTOTYPE((struct tm *));
-
-#endif /* KRB5_LIBOS_PROTO__ */
+++ /dev/null
-/*
- * include/krb5/mit-des.h
- *
- * Copyright 1989,1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * MIT Data Encryption Standard software implementation declarations.
- */
-
-
-#ifndef KRB5_MIT_DES__
-#define KRB5_MIT_DES__
-
-typedef krb5_octet mit_des_cblock[8]; /* crypto-block size */
-
-/* Key schedule--used internally by DES routines to gain some speed */
-typedef struct mit_des_ks_struct {
- mit_des_cblock _;
-} mit_des_key_schedule[16];
-
-#define MIT_DES_ENCRYPT 1
-#define MIT_DES_DECRYPT 0
-
-typedef struct mit_des_ran_key_seed {
- krb5_octet sequence_number[8];
- mit_des_key_schedule random_sequence_key;
-} mit_des_random_key_seed;
-
-/* the first byte of the key is already in the keyblock */
-
-#define MIT_DES_BLOCK_LENGTH (8*sizeof(krb5_octet))
-#define MIT_DES_CBC_CRC_PAD_MINIMUM CRC32_CKSUM_LENGTH
-#define MIT_DES_KEYSIZE (8*sizeof(krb5_octet))
-
-#define MIT_DES_CBC_CKSUM_LENGTH (4*sizeof(krb5_octet))
-
-/* cryptosystem entry descriptor for MIT's DES encryption library */
-extern krb5_cs_table_entry krb5_raw_des_cst_entry;
-extern krb5_cs_table_entry krb5_des_crc_cst_entry;
-extern krb5_cs_table_entry krb5_des_md5_cst_entry;
-extern krb5_checksum_entry krb5_des_cbc_cksumtable_entry;
-
-#endif /* KRB5_MIT_DES__ */
+++ /dev/null
-/*
- * include/krb5/preauth.h
- *
- * (Originally written by Glen Machin at Sandia Labs.)
- *
- * Copyright 1992, 1995 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- * Sandia National Laboratories also makes no representations about the
- * suitability of the modifications, or additions to this software for
- * any purpose. It is provided "as is" without express or implied warranty.
- *
- */
-#ifndef KRB5_PREAUTH__
-#define KRB5_PREAUTH__
-
-#define MAX_PREAUTH_SIZE 20 /* Maximum size of PreAuthenticator.data */
-
-/*
- * Note: these typedefs are subject to change.... [tytso:19920903.1609EDT]
- */
-typedef krb5_error_code (krb5_preauth_obtain_proc)
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_pa_data *pa_data));
-
-typedef krb5_error_code (krb5_preauth_verify_proc)
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_data *data));
-
-typedef struct _krb5_preauth_ops {
- krb5_magic magic;
- int type;
- int flags;
- krb5_preauth_obtain_proc *obtain;
- krb5_preauth_verify_proc *verify;
-} krb5_preauth_ops;
-
-/*
- * Preauthentication property flags
- */
-#define KRB5_PREAUTH_FLAGS_ENCRYPT 0x00000001
-#define KRB5_PREAUTH_FLAGS_HARDWARE 0x00000002
-
-#if 0
-krb5_error_code get_random_padata
- KRB5_PROTOTYPE((krb5_principal client, krb5_address **src_addr,
- krb5_pa_data *data));
-
-krb5_error_code verify_random_padata
- KRB5_PROTOTYPE((krb5_principal client, krb5_address **src_addr,
- krb5_data *data));
-#endif
-
-krb5_error_code get_unixtime_padata
- KRB5_PROTOTYPE((krb5_context, krb5_principal client,
- krb5_address **src_addr, krb5_pa_data *data));
-
-krb5_error_code verify_unixtime_padata
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_data *data));
-
-krb5_error_code get_securid_padata
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_pa_data *data));
-
-krb5_error_code verify_securid_padata
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_data *data));
-
-#endif /* KRB5_PREAUTH__ */
+++ /dev/null
-/*
- ***********************************************************************
- ** md5.h -- header file for implementation of MD5 **
- ** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
- ** Created: 2/17/90 RLR **
- ** Revised: 12/27/90 SRD,AJ,BSK,JT Reference C version **
- ** Revised (for MD5): RLR 4/27/91 **
- ** -- G modified to have y&~z instead of y&z **
- ** -- FF, GG, HH modified to add in last register done **
- ** -- Access pattern: round 2 works mod 5, round 3 works mod 3 **
- ** -- distinct additive constant for each step **
- ** -- round 4 added, working mod 7 **
- ***********************************************************************
- */
-
-/*
- ***********************************************************************
- ** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
- ** **
- ** License to copy and use this software is granted provided that **
- ** it is identified as the "RSA Data Security, Inc. MD5 Message- **
- ** Digest Algorithm" in all material mentioning or referencing this **
- ** software or this function. **
- ** **
- ** License is also granted to make and use derivative works **
- ** provided that such works are identified as "derived from the RSA **
- ** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
- ** material mentioning or referencing the derived work. **
- ** **
- ** RSA Data Security, Inc. makes no representations concerning **
- ** either the merchantability of this software or the suitability **
- ** of this software for any particular purpose. It is provided "as **
- ** is" without express or implied warranty of any kind. **
- ** **
- ** These notices must be retained in any copies of any part of this **
- ** documentation and/or software. **
- ***********************************************************************
- */
-
-#ifndef KRB5_RSA_MD5__
-#define KRB5_RSA_MD5__
-
-/* Data structure for MD5 (Message-Digest) computation */
-typedef struct {
- krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
- krb5_ui_4 buf[4]; /* scratch buffer */
- unsigned char in[64]; /* input buffer */
- unsigned char digest[16]; /* actual digest after MD5Final call */
-} MD5_CTX;
-
-#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES)
-extern void MD5Init(MD5_CTX FAR *);
-extern void MD5Update (MD5_CTX FAR *, unsigned char FAR *, unsigned int);
-extern void MD5Final (MD5_CTX FAR *);
-#else
-extern void MD5Init();
-extern void MD5Update ();
-extern void MD5Final ();
-#endif
-
-#define RSA_MD5_CKSUM_LENGTH 16
-#define RSA_MD5_DES_CKSUM_LENGTH 16
-#define RSA_MD5_DES_CONFOUND_LENGTH 8
-
-extern krb5_checksum_entry
- rsa_md5_cksumtable_entry,
- rsa_md5_des_cksumtable_entry;
-
-#endif /* KRB5_RSA_MD5__ */
+++ /dev/null
-/*
- * include/krb5/sysincl.h
- *
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * System include files, for various things.
- */
-
-
-#ifndef KRB5_SYSINCL__
-#define KRB5_SYSINCL__
-
-#ifndef KRB5_SYSTYPES__
-#define KRB5_SYSTYPES__
-/* needed for much of the rest -- but already handled in krb5.h? */
-/* #include <sys/types.h> */
-#endif /* KRB5_SYSTYPES__ */
-
-#include "osconf.h" /* USE*TIME_H macros */
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#ifdef TIME_WITH_SYS_TIME
-#include <time.h>
-#endif
-#else
-#include <time.h>
-#endif
-
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h> /* struct stat, stat() */
-#endif
-
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h> /* MAXPATHLEN */
-#endif
-
-#ifdef HAVE_SYS_FILE_H
-#include <sys/file.h> /* prototypes for file-related
- syscalls; flags for open &
- friends */
-#endif
-
-#if defined(SYSV) || defined(_AIX)
-#include <fcntl.h>
-#endif
-#ifdef NEED_SYS_FCNTL_H
-#include <sys/fcntl.h>
-#endif
-
-#endif /* KRB5_SYSINCL__ */