]> The Tcpdump Group git mirrors - tcpdump/commitdiff
remove any of references to "ahsecret" (which is never used to date)
authoritojun <itojun>
Sat, 15 Jan 2000 07:42:32 +0000 (07:42 +0000)
committeritojun <itojun>
Sat, 15 Jan 2000 07:42:32 +0000 (07:42 +0000)
interface.h
tcpdump.c

index c3ab42e5b4f9aa79d6e8b535faf9e1334133da3b..928e17e8e4747cba58c811a9ca8fd0434b5245f5 100644 (file)
@@ -18,7 +18,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.119 2000-01-07 15:59:28 assar Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.120 2000-01-15 07:42:32 itojun Exp $ (LBL)
  */
 
 #ifndef tcpdump_interface_h
@@ -85,7 +85,6 @@ extern int vflag;             /* verbose */
 extern int xflag;              /* print packet in hex */
 extern int Xflag;              /* print packet in hex/ascii */
 
-extern char *ahsecret;
 extern char *espsecret;
 
 extern int packettype;         /* as specified by -T */
index 65cb2ed7f022847e48b19b36b5433e65c84806c0..b3dd9e7bbaba4a432cf9aff2c4f6bc1fb4a0bb29 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -24,7 +24,7 @@ static const char copyright[] =
     "@(#) 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.140 2000-01-15 02:33:06 mcr Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.141 2000-01-15 07:42:32 itojun Exp $ (LBL)";
 #endif
 
 /*
@@ -78,7 +78,6 @@ int vflag;                    /* verbose */
 int xflag;                     /* print packet in hex */
 int Xflag;                     /* print packet in ascii as well as hex */
 
-char *ahsecret = NULL;         /* AH secret key */
 char *espsecret = NULL;                /* ESP secret key */
 
 int packettype;
@@ -183,15 +182,6 @@ main(int argc, char **argv)
                        ++aflag;
                        break;
 
-#if 0
-               case 'A':
-#ifndef HAVE_LIBCRYPTO
-                       warning("crypto code not compiled in");
-#endif
-                       ahsecret = optarg;
-                       break;
-#endif
-
                case 'c':
                        cnt = atoi(optarg);
                        if (cnt <= 0)