summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_dump.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2019-09-20 20:26:42 +0200
committerKurt Roeckx <kurt@roeckx.be>2019-09-21 10:57:08 +0200
commita6105ef40d65b35818f2b8ae8ca9e57ca6956d1d (patch)
tree04dc3a1bf421d59691713df67acc8446791a0632 /crypto/bio/b_dump.c
parentec87a649dd2128bde780f6e34a4833d9469f6b4d (diff)
Use the correct maximum indent
Found by OSS-Fuzz Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> GH: #9959
Diffstat (limited to 'crypto/bio/b_dump.c')
-rw-r--r--crypto/bio/b_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c
index e4ad3615f4..018c4acb27 100644
--- a/crypto/bio/b_dump.c
+++ b/crypto/bio/b_dump.c
@@ -37,8 +37,8 @@ int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
if (indent < 0)
indent = 0;
- else if (indent > 128)
- indent = 128;
+ else if (indent > 64)
+ indent = 64;
dump_width = DUMP_WIDTH_LESS_INDENT(indent);
rows = len / dump_width;