Thanks for making this hard to test on macOS, Apple. You *could*
continue to ship the headers for libcrypto even if you want to get
everybody to use your Shiny New SSL code rather than Boring Old OpenSSL
- just don't ship the headers for the SSL library - but nooooooo.
{
const u_char *dat;
volatile u_int dlen;
{
const u_char *dat;
volatile u_int dlen;
ND_TCHECK(*ext);
ikev2_pay_print(ndo, NPSTR(tpay), EXTRACT_U_1(ext->critical));
ND_TCHECK(*ext);
ikev2_pay_print(ndo, NPSTR(tpay), EXTRACT_U_1(ext->critical));
ND_TCHECK_LEN(dat, dlen);
#ifdef HAVE_LIBCRYPTO
ND_TCHECK_LEN(dat, dlen);
#ifdef HAVE_LIBCRYPTO
+ np = EXTRACT_U_1(ext->np);
+
/* try to decypt it! */
if(esp_print_decrypt_buffer_by_ikev2(ndo,
EXTRACT_U_1(base->flags) & ISAKMP_FLAG_I,
/* try to decypt it! */
if(esp_print_decrypt_buffer_by_ikev2(ndo,
EXTRACT_U_1(base->flags) & ISAKMP_FLAG_I,
ext = (const struct isakmp_gen *)ndo->ndo_packetp;
/* got it decrypted, print stuff inside. */
ext = (const struct isakmp_gen *)ndo->ndo_packetp;
/* got it decrypted, print stuff inside. */
- ikev2_sub_print(ndo, base, EXTRACT_U_1(ext->np), ext,
+ ikev2_sub_print(ndo, base, np, ext,
ndo->ndo_snapend, phase, doi, proto, depth+1);
}
#endif
ndo->ndo_snapend, phase, doi, proto, depth+1);
}
#endif