diff options
author | tb <> | 2023-07-22 19:33:25 +0000 |
---|---|---|
committer | tb <> | 2023-07-22 19:33:25 +0000 |
commit | 729e35d2be4f278d1700e348499088f1b459db97 (patch) | |
tree | c740378f71e966b4980853f540d56f11b930a2bd | |
parent | 40f8b777ce5b25362ea70d4ff4818a57de85a64f (diff) | |
download | openbsd-729e35d2be4f278d1700e348499088f1b459db97.tar.gz openbsd-729e35d2be4f278d1700e348499088f1b459db97.tar.bz2 openbsd-729e35d2be4f278d1700e348499088f1b459db97.zip |
Tweak previous. Should have been 60 instead of 64
-rw-r--r-- | src/lib/libcrypto/ec/ecx_methods.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecx_methods.c b/src/lib/libcrypto/ec/ecx_methods.c index 55670c1a59..4bb8b786a1 100644 --- a/src/lib/libcrypto/ec/ecx_methods.c +++ b/src/lib/libcrypto/ec/ecx_methods.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecx_methods.c,v 1.8 2023/07/22 17:20:50 tb Exp $ */ | 1 | /* $OpenBSD: ecx_methods.c,v 1.9 2023/07/22 19:33:25 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -301,8 +301,8 @@ ecx_buf_print(BIO *bio, const uint8_t *buf, size_t buf_len, int indent) | |||
301 | const char *sep = ":", *nl = ""; | 301 | const char *sep = ":", *nl = ""; |
302 | CBS cbs; | 302 | CBS cbs; |
303 | 303 | ||
304 | if (indent > 64) | 304 | if (indent > 60) |
305 | indent = 64; | 305 | indent = 60; |
306 | indent += 4; | 306 | indent += 4; |
307 | if (indent < 0) | 307 | if (indent < 0) |
308 | indent = 0; | 308 | indent = 0; |