fix indent, newline
authorDr. Stephen Henson <steve@openssl.org>
Sat, 6 Mar 2010 18:14:13 +0000 (18:14 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 6 Mar 2010 18:14:13 +0000 (18:14 +0000)
crypto/asn1/t_x509.c

index 22041a8fc5c5926bf7642ff8d70536871a1dbc80..d7eab16339428f5e09bda947003bce081d8681e4 100644 (file)
@@ -297,8 +297,10 @@ int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent)
        for (i=0; i<n; i++)
                {
                if ((i%18) == 0)
+                       {
                        if (BIO_write(bp,"\n",1) <= 0) return 0;
                        if (BIO_indent(bp, indent, indent) <= 0) return 0;
+                       }
                        if (BIO_printf(bp,"%02x%s",s[i],
                                ((i+1) == n)?"":":") <= 0) return 0;
                }