-/* $OpenBSD: ikev2.c,v 1.360 2022/12/03 21:02:27 tobhe Exp $ */
+/* $OpenBSD: ikev2.c,v 1.361 2022/12/06 09:07:33 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
logit(hdr->ike_exchange == IKEV2_EXCHANGE_INFORMATIONAL ?
LOG_DEBUG : LOG_INFO,
- "%srecv %s %s %u peer %s local %s, %ld bytes, policy '%s'",
+ "%srecv %s %s %u peer %s local %s, %zu bytes, policy '%s'",
SPI_IH(hdr),
print_map(hdr->ike_exchange, ikev2_exchange_map),
msg->msg_response ? "res" : "req",
-/* $OpenBSD: ikev2_msg.c,v 1.89 2022/12/03 21:02:27 tobhe Exp $ */
+/* $OpenBSD: ikev2_msg.c,v 1.90 2022/12/06 09:07:33 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
exchange = hdr->ike_exchange;
flags = hdr->ike_flags;
logit(exchange == IKEV2_EXCHANGE_INFORMATIONAL ? LOG_DEBUG : LOG_INFO,
- "%ssend %s %s %u peer %s local %s, %ld bytes%s",
+ "%ssend %s %s %u peer %s local %s, %zu bytes%s",
SPI_IH(hdr),
print_map(exchange, ikev2_exchange_map),
(flags & IKEV2_FLAG_RESPONSE) ? "res" : "req",
-/* $OpenBSD: ikev2_pld.c,v 1.126 2022/12/03 21:02:27 tobhe Exp $ */
+/* $OpenBSD: ikev2_pld.c,v 1.127 2022/12/06 09:07:33 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
*/
if (!sap->sap_more && left != sap_length) {
log_debug("%s: malformed payload: SA payload length mismatches "
- "single proposal substructure length (%lu != %zu)",
+ "single proposal substructure length (%zu != %zu)",
__func__, left, sap_length);
return (-1);
}