* SUCH DAMAGE.
*/
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#include <roken.h>
-#endif
-
+#include <afs/stds.h>
#define DEBUG 0
#ifdef KERNEL
#ifndef UKERNEL
-#include "afs/stds.h"
#include "h/types.h"
#if !defined(AFS_LINUX20_ENV) && !defined(AFS_OBSD_ENV)
#include "netinet/in.h"
#endif
#else /* UKERNEL */
#include "afs/sysincludes.h"
-#include "afs/stds.h"
#endif /* UKERNEL */
#ifdef AFS_LINUX22_ENV
#include <asm/byteorder.h>
#endif
#else /* KERNEL */
-
-#include <afs/stds.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
+#include <roken.h>
#include <rx/rx.h>
#endif /* KERNEL */
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
#include <roken.h>
-#include <afs/stds.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <string.h>
#include <rx/xdr.h>
#include <rx/rx.h>
#include <rx/rxkad.h>
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#include <roken.h>
-#endif
-
+#include <afs/stds.h>
#ifdef KERNEL
-#include "afs/stds.h"
#ifndef UKERNEL
#include "h/types.h"
#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_XBSD_ENV)
#include "h/systm.h"
#endif
-#include "rx/rx.h"
#include "netinet/in.h"
#else /* !UKERNEL */
#include "afs/sysincludes.h"
-#include "rx/rx.h"
#endif /* !UKERNEL */
#else /* !KERNEL */
-#include <afs/stds.h>
-#include <sys/types.h>
-#include <string.h>
-#include <rx/rx.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
+#include <roken.h>
#endif /* KERNEL */
+#include <rx/rx.h>
#include <rx/rxkad_stats.h>
#include "private_data.h"
#define XPRT_RXKAD_CRYPT
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include "rxkad.h"
#include <rx/rx.h>
#include "private_data.h"
typedef afs_int32 int32;
typedef afs_uint32 u_int32;
-#include <stdio.h>
-#include <string.h>
-
-#include <time.h>
-
const char the_quick[] = "The quick brown fox jumps over the lazy dogs.\0\0";
const unsigned char key1[8] =
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#endif
-
+#include <afs/stds.h>
#define DEBUG 0
#ifdef KERNEL
#ifndef UKERNEL
-#include "afs/stds.h"
#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
#include "h/systm.h"
#endif
#endif
#else /* UKERNEL */
#include "afs/sysincludes.h"
-#include "afs/stds.h"
#endif /* UKERNEL */
#ifdef AFS_LINUX22_ENV
#include <asm/byteorder.h>
#endif
#else /* KERNEL */
+# include <roken.h>
-#include <afs/stds.h>
-#include <sys/types.h>
-#include <string.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <rx/rx.h>
+# include <rx/rx.h>
#endif /* KERNEL */
#include "sboxes.h"
* make any use of DES. */
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#include <roken.h>
-#endif
-
+#include <afs/stds.h>
#ifdef KERNEL
-#include "afs/stds.h"
#ifndef UKERNEL
#include "h/types.h"
#include "h/time.h"
#else /* !UKERNEL */
#include "afs/sysincludes.h"
#endif /* !UKERNEL */
-#ifndef AFS_LINUX22_ENV
-#include "rpc/types.h"
-#include "rx/xdr.h"
-#endif
-#include "rx/rx.h"
#else /* ! KERNEL */
-#include <afs/stds.h>
-#include <sys/types.h>
-#include <time.h>
-#include <string.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#include <unistd.h>
-#endif
-#include <rx/rx.h>
-#include <rx/xdr.h>
+#include <roken.h>
#ifdef AFS_PTHREAD_ENV
#include "rx/rxkad.h"
#endif /* AFS_PTHREAD_ENV */
#endif /* KERNEL */
+#include <rx/rx.h>
+#include <rx/xdr.h>
+
#include "stats.h"
#include "private_data.h"
#define XPRT_RXKAD_CLIENT
/* The rxkad security object. Routines used by both client and servers. */
#include <afsconfig.h>
-#ifdef KERNEL
-#include "afs/param.h"
-#else
#include <afs/param.h>
-#include <roken.h>
-#endif
+#include <afs/stds.h>
#ifdef AFS_SUN59_ENV
#include <sys/time_impl.h>
#define INCLUDE_RXKAD_PRIVATE_DECLS
-
#ifdef KERNEL
#ifndef UKERNEL
-#include "afs/stds.h"
#include "afs/afs_osi.h"
#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
#include "h/systm.h"
#endif
#include "h/types.h"
#include "h/time.h"
-#ifndef AFS_LINUX22_ENV
-#include "rpc/types.h"
-#include "rx/xdr.h"
-#endif /* AFS_LINUX22_ENV */
#else /* !UKERNEL */
#include "afs/sysincludes.h"
#include "afsincludes.h"
#endif /* !UKERNEL */
-#include "rx/rx.h"
-
#else /* KERNEL */
-#include <afs/stds.h>
-#include <sys/types.h>
-#include <string.h>
-#include <time.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#ifdef AFS_PTHREAD_ENV
+#include <roken.h>
+#if defined(AFS_NT40_ENV) && defined(AFS_PTHREAD_ENV)
#define RXKAD_STATS_DECLSPEC __declspec(dllexport)
#endif
-#else
-#include <netinet/in.h>
-#endif
-#include <rx/rx.h>
-#include <rx/xdr.h>
#include <afs/afsutil.h>
#endif /* KERNEL */
+#include <rx/rx.h>
+#include <rx/xdr.h>
+
#include "stats.h"
#include "private_data.h"
#define XPRT_RXKAD_COMMON
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
#include <roken.h>
-#include <afs/stds.h>
-#include <sys/types.h>
#if (defined(AFS_AIX_ENV) && defined(KERNEL) && !defined(UKERNEL)) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
#include <sys/systm.h>
#endif
-#include <time.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <string.h>
+
#include <rx/rx.h>
#include <rx/xdr.h>
#include <afs/afsutil.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
+
#include "stats.h"
#include "private_data.h"
#define XPRT_RXKAD_SERVER
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
+#include <roken.h>
-#include <afs/stds.h>
-#include <sys/types.h>
-#include <netinet/in.h>
#include "fcrypt.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
#include <roken.h>
-#include <stdio.h>
-#include <afs/stds.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <string.h>
#include <rx/xdr.h>
#include <rx/rx.h>
+
#include "lifetimes.h"
#include "rxkad.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
#include <roken.h>
# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
#endif
-#include <afs/stds.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <string.h>
#include <rx/xdr.h>
#include <rx/rx.h>
+
#include <hcrypto/md4.h>
#include <hcrypto/md5.h>
+
#include "lifetimes.h"
#include "rxkad.h"