Put a variable only used if we have libcrypto under HAVE_LIBCRYPTO.

This commit is contained in:
Guy Harris 2017-12-30 13:08:43 -08:00
parent d488edcccc
commit a1b2cce62e

View 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));