}
if (AH_MAXSUMSIZE < siz) {
ipseclog((LOG_DEBUG,
- "internal error: AH_MAXSUMSIZE must be larger than %lu\n",
+ "internal error: AH_MAXSUMSIZE must be larger than %u\n",
(u_int32_t)siz));
IPSEC_STAT_INCREMENT(ipsecstat.in_inval);
goto bad;
int mlen;
if ((mlen = m_length2(m, NULL)) < hlen) {
ipseclog((LOG_DEBUG,
- "IPv4 ESP input: decrypted packet too short %d < %d\n",
+ "IPv4 ESP input: decrypted packet too short %d < %zu\n",
mlen, hlen));
IPSEC_STAT_INCREMENT(ipsecstat.in_inval);
ifnet_release(ipsec_if);
}
if (AH_MAXSUMSIZE < siz) {
ipseclog((LOG_DEBUG,
- "internal error: AH_MAXSUMSIZE must be larger than %lu\n",
+ "internal error: AH_MAXSUMSIZE must be larger than %u\n",
(u_int32_t)siz));
IPSEC_STAT_INCREMENT(ipsec6stat.in_inval);
goto bad;