]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of a warning if libcrypto isn't present.
authorguy <guy>
Fri, 25 Jan 2002 05:51:51 +0000 (05:51 +0000)
committerguy <guy>
Fri, 25 Jan 2002 05:51:51 +0000 (05:51 +0000)
print-esp.c

index 08234974148bce0fc6de9a08de39cfc976f79e10..503c9f3caa6f950d12396db90fe970fe40607d75 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.21 2002-01-23 05:23:16 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.22 2002-01-25 05:51:51 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -195,7 +195,9 @@ esp_print(register const u_char *bp, register const u_char *bp2,
        char *secret;
        int ivlen = 0;
        u_char *ivoff;
+#ifdef HAVE_LIBCRYPTO
        u_char *p;
+#endif
        
        esp = (struct esp *)bp;
        spi = (u_int32_t)ntohl(esp->esp_spi);