summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2021-11-10 08:34:49 +0000
committerJob Snijders <job@cvs.openbsd.org>2021-11-10 08:34:49 +0000
commited59403675a5538ae08b307319d0b42aff1aa31c (patch)
tree708bb6f937b2cb99c5aad28a09d4d129121aed3d /usr.sbin
parent953d9dd7bda85fd46b754eb53e0630a1c3c9d56d (diff)
Increase maximum filesize of RPKI objects to 4MB
Based on feedback from Ties de Kock OK tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpki-client/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h
index 399fc7c81f7..8729863ed51 100644
--- a/usr.sbin/rpki-client/extern.h
+++ b/usr.sbin/rpki-client/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.95 2021/11/09 11:03:39 claudio Exp $ */
+/* $OpenBSD: extern.h,v 1.96 2021/11/10 08:34:48 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -612,7 +612,7 @@ int mkpath(const char *);
#define MAX_URI_LENGTH 2048
/* Maximum acceptable file size */
-#define MAX_FILE_SIZE 2000000
+#define MAX_FILE_SIZE 4000000
/* Maximum number of FileAndHash entries per manifest. */
#define MAX_MANIFEST_ENTRIES 100000