diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-28 18:57:30 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-28 18:57:30 +0700 |
commit | 558aef70537b3882e5616e9d0e7b40d971e2dd42 (patch) | |
tree | 1ac43c975f414e69a268dca315a10a87fa406ea8 /crypto/src/pkix/PkixNameConstraintValidator.cs | |
parent | Add Xoodyak to the master branch (diff) | |
download | BouncyCastle.NET-ed25519-558aef70537b3882e5616e9d0e7b40d971e2dd42.tar.xz |
Misc. cleanup after bc-fips-csharp updates
Diffstat (limited to 'crypto/src/pkix/PkixNameConstraintValidator.cs')
-rw-r--r-- | crypto/src/pkix/PkixNameConstraintValidator.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/src/pkix/PkixNameConstraintValidator.cs b/crypto/src/pkix/PkixNameConstraintValidator.cs index 840755060..879054c7f 100644 --- a/crypto/src/pkix/PkixNameConstraintValidator.cs +++ b/crypto/src/pkix/PkixNameConstraintValidator.cs @@ -1806,7 +1806,8 @@ namespace Org.BouncyCastle.Pkix public override string ToString() { - StringBuilder sb = new StringBuilder("permitted:\n"); + StringBuilder sb = new StringBuilder("permitted:"); + sb.AppendLine(); if (permittedSubtreesDN != null) { Append(sb, "DN", permittedSubtreesDN); @@ -1831,7 +1832,7 @@ namespace Org.BouncyCastle.Pkix { Append(sb, "OtherName", StringifyOtherNameCollection(permittedSubtreesOtherName)); } - sb.Append("excluded:\n"); + sb.AppendLine("excluded:"); if (excludedSubtreesDN.Count > 0) { Append(sb, "DN", excludedSubtreesDN); |