]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Don't warn about the non-use of some arguments to rsvp_obj_print() if we
authorGuy Harris <[email protected]>
Wed, 6 Jan 2010 04:24:44 +0000 (20:24 -0800)
committerGuy Harris <[email protected]>
Wed, 6 Jan 2010 04:24:44 +0000 (20:24 -0800)
don't have libcrypto, as we can't use them if we don't.

print-rsvp.c

index 3778e62b9514ccf8fa8ce64dae9f5f372ee02bd4..6aa2f6d71bd6eeeb8eb3690084f0157edf3b75df 100644 (file)
@@ -636,7 +636,15 @@ rsvp_intserv_print(const u_char *tptr, u_short obj_tlen) {
 }
 
 static int
-rsvp_obj_print (const u_char *pptr, u_int plen, const u_char *tptr,
+rsvp_obj_print (const u_char *pptr
+#ifndef HAVE_LIBCRYPTO
+_U_
+#endif
+, u_int plen
+#ifndef HAVE_LIBCRYPTO
+_U_
+#endif
+, const u_char *tptr,
                 const char *ident, u_int tlen) {
 
     const struct rsvp_object_header *rsvp_obj_header;