From 382703046427bcc95db8b0c61e4fcc7062b8cf19 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 13 Apr 2022 20:54:55 +0000 Subject: [PATCH] IKED_LIFETIME_BYTES is > 2GB, and potentially used in strange place, it should really be marked ULL ok bluhm tobhe --- sbin/iked/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/iked/types.h b/sbin/iked/types.h index 5fb3c99ca05..8e06512aa8d 100644 --- a/sbin/iked/types.h +++ b/sbin/iked/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.47 2021/11/21 22:44:08 tobhe Exp $ */ +/* $OpenBSD: types.h,v 1.48 2022/04/13 20:54:55 deraadt Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -68,8 +68,8 @@ #define IKED_CYCLE_BUFFERS 8 /* # of static buffers for mapping */ #define IKED_PASSWORD_SIZE 256 /* limited by most EAP types */ -#define IKED_LIFETIME_BYTES 4294967296 /* 4 GB */ -#define IKED_LIFETIME_SECONDS 10800 /* 3 hours */ +#define IKED_LIFETIME_BYTES 4294967296ULL /* 4 GB */ +#define IKED_LIFETIME_SECONDS 10800 /* 3 hours */ #define IKED_E 0x1000 /* Decrypted flag */ -- 2.20.1