Commit 06deb932 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

apps/apps.c: harmonize print_bignum_var output with coding style.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent b9e54e98
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1188,14 +1188,13 @@ void print_bignum_var(BIO *out, const BIGNUM *in, const char *var,
{
    BIO_printf(out, "    static unsigned char %s_%d[] = {", var, len);
    if (BN_is_zero(in)) {
        BIO_printf(out, "\n\t0x00");
        BIO_printf(out, "\n        0x00");
    } else {
        int i, l;

        l = BN_bn2bin(in, buffer);
        for (i = 0; i < l; i++) {
            if ((i % 10) == 0)
                BIO_printf(out, "\n\t");
            BIO_printf(out, (i % 10) == 0 ? "\n        " : " ");
            if (i < l - 1)
                BIO_printf(out, "0x%02X,", buffer[i]);
            else