diff options
author | Damien Miller <djm@mindrot.org> | 2011-12-19 10:52:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-12-19 10:52:50 +1100 |
commit | 8ed4de8f1dcebddd7edc0dd3c10f1cb947d831eb (patch) | |
tree | 3c9442e4dfcae3662f42cb53cccc7e45f98c0897 /roaming.h | |
parent | 913ddff40d090751d50be2339cd859505b24f65b (diff) |
- djm@cvs.openbsd.org 2011/12/07 05:44:38
[auth2.c dh.c packet.c roaming.h roaming_client.c roaming_common.c]
fix some harmless and/or unreachable int overflows;
reported Xi Wang, ok markus@
Diffstat (limited to 'roaming.h')
-rw-r--r-- | roaming.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: roaming.h,v 1.5 2009/10/24 11:11:58 andreas Exp $ */ | 1 | /* $OpenBSD: roaming.h,v 1.6 2011/12/07 05:44:38 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2004-2009 AppGate Network Security AB | 3 | * Copyright (c) 2004-2009 AppGate Network Security AB |
4 | * | 4 | * |
@@ -18,8 +18,9 @@ | |||
18 | #ifndef ROAMING_H | 18 | #ifndef ROAMING_H |
19 | #define ROAMING_H | 19 | #define ROAMING_H |
20 | 20 | ||
21 | #define DEFAULT_ROAMBUF 65536 | 21 | #define DEFAULT_ROAMBUF 65536 |
22 | #define ROAMING_REQUEST "roaming@appgate.com" | 22 | #define MAX_ROAMBUF (2*1024*1024) /* XXX arbitrary */ |
23 | #define ROAMING_REQUEST "roaming@appgate.com" | ||
23 | 24 | ||
24 | extern int roaming_enabled; | 25 | extern int roaming_enabled; |
25 | extern int resume_in_progress; | 26 | extern int resume_in_progress; |