diff options
-rw-r--r-- | src/lib/libcrypto/ec/eck_prn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c index 6e89bfa739..45e0bc80e9 100644 --- a/src/lib/libcrypto/ec/eck_prn.c +++ b/src/lib/libcrypto/ec/eck_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: eck_prn.c,v 1.28 2023/07/07 13:54:45 beck Exp $ */ | 1 | /* $OpenBSD: eck_prn.c,v 1.29 2023/11/21 16:31:31 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -322,7 +322,8 @@ print_bin(BIO *fp, const char *name, const unsigned char *buf, | |||
322 | size_t len, int off) | 322 | size_t len, int off) |
323 | { | 323 | { |
324 | size_t i; | 324 | size_t i; |
325 | char str[128]; | 325 | /* XXX - redo the function with asprintf/strlcat. */ |
326 | char str[128 + 1 + 4]; | ||
326 | 327 | ||
327 | if (buf == NULL) | 328 | if (buf == NULL) |
328 | return 1; | 329 | return 1; |