fix indent, newline
This commit is contained in:
parent
fa1ba589f3
commit
148924c1f4
@ -297,8 +297,10 @@ int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent)
|
|||||||
for (i=0; i<n; i++)
|
for (i=0; i<n; i++)
|
||||||
{
|
{
|
||||||
if ((i%18) == 0)
|
if ((i%18) == 0)
|
||||||
|
{
|
||||||
if (BIO_write(bp,"\n",1) <= 0) return 0;
|
if (BIO_write(bp,"\n",1) <= 0) return 0;
|
||||||
if (BIO_indent(bp, indent, indent) <= 0) return 0;
|
if (BIO_indent(bp, indent, indent) <= 0) return 0;
|
||||||
|
}
|
||||||
if (BIO_printf(bp,"%02x%s",s[i],
|
if (BIO_printf(bp,"%02x%s",s[i],
|
||||||
((i+1) == n)?"":":") <= 0) return 0;
|
((i+1) == n)?"":":") <= 0) return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user