CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/12/20 07:26:47

Modified files:
        lib/libcrypto/asn1: tasn_prn.c 

Log message:
Use BIO_indent() for indentation in tasn_prn.c

Using a loop to print pieces of a static buffer containing 20 spaces to
indent things is just silly. Even sillier is making this buffer const
without looking what it's actually used for... There is BIO_indent() or
BIO_printf() that can handle "%*s".

Add a length check to preserve behavior since BIO_indent() succeeds for
negattive indent.

However, peak silliness must be how BIO_dump_indent_cb() indents things.
That's for another day.

ok jsing

Reply via email to