diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-04-13 20:54:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-04-13 20:54:56 +0000 |
commit | eb6d0d844abe0007e42885055be42733f7e88399 (patch) | |
tree | 0b5a2d8c2daa2f73af61b784f702f0e5d6afa02d /sbin/iked/types.h | |
parent | f103a8be64783213f4419f7145b5ad93389b6f9b (diff) |
IKED_LIFETIME_BYTES is > 2GB, and potentially used in strange place,
it should really be marked ULL
ok bluhm tobhe
Diffstat (limited to 'sbin/iked/types.h')
-rw-r--r-- | sbin/iked/types.h | 6 |
1 files 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 <tobias.heider@stusta.de> @@ -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 */ |