summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-06-08 12:11:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-06-08 12:11:52 +0700
commitff2c6620a1e24792280356893c4f05d199af783a (patch)
tree5eab0c0a0a9e97aeadac1cc104a905273656b038 /crypto/src/util
parentUpdate from bc-java (diff)
downloadBouncyCastle.NET-ed25519-ff2c6620a1e24792280356893c4f05d199af783a.tar.xz
Update from bc-java
Diffstat (limited to 'crypto/src/util')
-rw-r--r--crypto/src/util/io/pem/PemReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/io/pem/PemReader.cs b/crypto/src/util/io/pem/PemReader.cs
index b806c7f63..7e6252b9b 100644
--- a/crypto/src/util/io/pem/PemReader.cs
+++ b/crypto/src/util/io/pem/PemReader.cs
@@ -68,7 +68,7 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 				int colonPos = line.IndexOf(':');
 				if (colonPos >= 0)
 				{
-                    string hdr = line.Substring(0, colonPos).Trim();
+                    string hdr = line.Substring(0, colonPos);
                     string val = line.Substring(colonPos + 1).Trim();
 
                     headers.Add(new PemHeader(hdr, val));