X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e2826164d4518667c80fa14a93390c77af8b8af7..d511b994b9931460771dc56c70b791204178d157:/print-esp.c diff --git a/print-esp.c b/print-esp.c index 9dbc0b3f..f8654aed 100644 --- a/print-esp.c +++ b/print-esp.c @@ -22,8 +22,8 @@ */ #ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.44 2003-10-28 03:16:36 itojun Exp $ (LBL)"; +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.48 2003-11-19 05:37:18 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -337,7 +337,12 @@ esp_print(const u_char *bp, const u_char *bp2 _U_ #endif , - int *nhdr, int *padlen + int *nhdr +#ifndef HAVE_LIBCRYPTO + _U_ +#endif + , + int *padlen #ifndef HAVE_LIBCRYPTO _U_ #endif @@ -501,7 +506,5 @@ esp_print(const u_char *bp, const u_char *bp2 #endif fail: - if (nhdr) - *nhdr = -1; - return 65536; + return -1; }