diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index 641a97c8aa..cf4db7c6b5 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -469,7 +469,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) | |||
469 | BIGNUM *bl; | 469 | BIGNUM *bl; |
470 | unsigned long l; | 470 | unsigned long l; |
471 | const unsigned char *p; | 471 | const unsigned char *p; |
472 | char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; | 472 | char tbuf[DECIMAL_SIZE(l) + 1]; |
473 | 473 | ||
474 | if ((a == NULL) || (a->data == NULL)) { | 474 | if ((a == NULL) || (a->data == NULL)) { |
475 | buf[0]='\0'; | 475 | buf[0]='\0'; |