#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.5 1999-12-15 08:10:18 fenner Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.6 2000-01-15 02:33:06 mcr Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#include <netinet/udp_var.h>
#include <netinet/tcp.h>
-#ifdef CRYPTO
+#ifdef HAVE_LIBCRYPTO
#include <des.h>
#include <blowfish.h>
#ifdef HAVE_RC5_H
switch (algo) {
case DESCBC:
-#ifdef CRYPTO
+#ifdef HAVE_LIBCRYPTO
{
u_char iv[8];
des_key_schedule schedule;
}
#else
goto fail;
-#endif /*CRYPTO*/
+#endif /*HAVE_LIBCRYPTO*/
case BLOWFISH:
-#ifdef CRYPTO
+#ifdef HAVE_LIBCRYPTO
{
BF_KEY schedule;
u_char *p;
}
#else
goto fail;
-#endif /*CRYPTO*/
+#endif /*HAVE_LIBCRYPTO*/
case RC5:
-#if defined(CRYPTO) && defined(HAVE_RC5_H)
+#if defined(HAVE_LIBCRYPTO) && defined(HAVE_RC5_H)
{
RC5_32_KEY schedule;
u_char *p;
}
#else
goto fail;
-#endif /*CRYPTO*/
+#endif /*HAVE_LIBCRYPTO*/
case CAST128:
-#if defined(CRYPTO) && defined(HAVE_CAST_H) && !defined(HAVE_BUGGY_CAST128)
+#if defined(HAVE_LIBCRYPTO) && defined(HAVE_CAST_H) && !defined(HAVE_BUGGY_CAST128)
{
CAST_KEY schedule;
u_char *p;
}
#else
goto fail;
-#endif /*CRYPTO*/
+#endif /*HAVE_LIBCRYPTO*/
case DES3CBC:
-#if defined(CRYPTO)
+#if defined(HAVE_LIBCRYPTO)
{
des_key_schedule s1, s2, s3;
u_char *p;
}
#else
goto fail;
-#endif /*CRYPTO*/
+#endif /*HAVE_LIBCRYPTO*/
case NONE:
default:
"@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n\
The Regents of the University of California. All rights reserved.\n";
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.139 1999-12-29 01:12:55 mcr Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.140 2000-01-15 02:33:06 mcr Exp $ (LBL)";
#endif
/*
#if 0
case 'A':
-#ifndef CRYPTO
+#ifndef HAVE_LIBCRYPTO
warning("crypto code not compiled in");
#endif
ahsecret = optarg;
break;
case 'E':
-#ifndef CRYPTO
+#ifndef HAVE_LIBCRYPTO
warning("crypto code not compiled in");
#endif
espsecret = optarg;