Skip to content

Commit 5d2acbc

Browse files
committed
Don't warn about the non-use of some arguments to rsvp_obj_print() if we
don't have libcrypto, as we can't use them if we don't.
1 parent a10a7c2 commit 5d2acbc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

print-rsvp.c

+9-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,15 @@ rsvp_intserv_print(const u_char *tptr, u_short obj_tlen) {
636636
}
637637

638638
static int
639-
rsvp_obj_print (const u_char *pptr, u_int plen, const u_char *tptr,
639+
rsvp_obj_print (const u_char *pptr
640+
#ifndef HAVE_LIBCRYPTO
641+
_U_
642+
#endif
643+
, u_int plen
644+
#ifndef HAVE_LIBCRYPTO
645+
_U_
646+
#endif
647+
, const u_char *tptr,
640648
const char *ident, u_int tlen) {
641649

642650
const struct rsvp_object_header *rsvp_obj_header;

0 commit comments

Comments
 (0)