summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-06 18:14:13 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-06 18:14:13 +0000
commit148924c1f4947bdea46c52cc1f7c5f3fadc5ebca (patch)
tree905cc43d672fe5d32ebc18026325b9cfae781dc8 /crypto/asn1
parentfa1ba589f3feab2c1d8c87109d18978238a9877f (diff)
fix indent, newline
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/t_x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 22041a8fc5..d7eab16339 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -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;
}