diff options
Diffstat (limited to 'crypto/src/pkix/PkixPolicyNode.cs')
-rw-r--r-- | crypto/src/pkix/PkixPolicyNode.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/src/pkix/PkixPolicyNode.cs b/crypto/src/pkix/PkixPolicyNode.cs index 0ea80b258..5a29d7b13 100644 --- a/crypto/src/pkix/PkixPolicyNode.cs +++ b/crypto/src/pkix/PkixPolicyNode.cs @@ -110,14 +110,12 @@ namespace Org.BouncyCastle.Pkix return ToString(""); } - public virtual string ToString( - string indent) + public virtual string ToString(string indent) { StringBuilder buf = new StringBuilder(); buf.Append(indent); buf.Append(mValidPolicy); - buf.Append(" {"); - buf.Append(Platform.NewLine); + buf.AppendLine(" {"); foreach (PkixPolicyNode child in mChildren) { @@ -125,8 +123,7 @@ namespace Org.BouncyCastle.Pkix } buf.Append(indent); - buf.Append("}"); - buf.Append(Platform.NewLine); + buf.AppendLine("}"); return buf.ToString(); } |