1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Increase maximum filesize of RPKI objects to 4MB

Based on feedback from Ties de Kock

OK tb@
This commit is contained in:
job 2021-11-10 08:34:48 +00:00
parent 3348847899
commit 9f2d8e54a0

View File

@ -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