]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Put a variable only used if we have libcrypto under HAVE_LIBCRYPTO.
authorGuy Harris <[email protected]>
Sat, 30 Dec 2017 21:08:43 +0000 (13:08 -0800)
committerGuy Harris <[email protected]>
Sat, 30 Dec 2017 21:08:43 +0000 (13:08 -0800)
print-isakmp.c

index 3a5f89fffe170673dd74417b4ed4fc909462c21d..ec5dffe8b6cfd141ca81623198017d4fe2f58b80 100644 (file)
@@ -2645,7 +2645,9 @@ ikev2_e_print(netdissect_options *ndo,
 {
        const u_char *dat;
        volatile u_int dlen;
+#ifdef HAVE_LIBCRYPTO
        uint8_t np;
+#endif
 
        ND_TCHECK(*ext);
        ikev2_pay_print(ndo, NPSTR(tpay), EXTRACT_U_1(ext->critical));