summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2024-10-04 17:07:38 +0200
committerTomas Mraz <tomas@openssl.org>2024-10-08 15:59:38 +0200
commitcdbe47bf3c02979183d1f66b42c511a18a63c61d (patch)
tree0b9aa2037929df381809f89dede8b567ed339c2b /include
parentDocumenting CRL download usage and restrictions (diff)
downloadopenssl-cdbe47bf3c02979183d1f66b42c511a18a63c61d.tar.xz
openssl-cdbe47bf3c02979183d1f66b42c511a18a63c61d.zip
Increase limit for CRL download
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25608)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/http.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/openssl/http.h b/include/openssl/http.h
index 8f4e9da30b..339b567dcd 100644
--- a/include/openssl/http.h
+++ b/include/openssl/http.h
@@ -35,9 +35,10 @@ extern "C" {
# ifndef OPENSSL_NO_HTTP
-#define OSSL_HTTP_DEFAULT_MAX_LINE_LEN (4 * 1024)
-#define OSSL_HTTP_DEFAULT_MAX_RESP_LEN (100 * 1024)
-#define OSSL_HTTP_DEFAULT_MAX_RESP_HDR_LINES 256
+# define OSSL_HTTP_DEFAULT_MAX_LINE_LEN (4 * 1024)
+# define OSSL_HTTP_DEFAULT_MAX_RESP_LEN (100 * 1024)
+# define OSSL_HTTP_DEFAULT_MAX_CRL_LEN (32 * 1024 * 1024)
+# define OSSL_HTTP_DEFAULT_MAX_RESP_HDR_LINES 256
/* Low-level HTTP API */