diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-06-08 12:11:52 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-06-08 12:11:52 +0700 |
commit | ff2c6620a1e24792280356893c4f05d199af783a (patch) | |
tree | 5eab0c0a0a9e97aeadac1cc104a905273656b038 | |
parent | Update from bc-java (diff) | |
download | BouncyCastle.NET-ed25519-ff2c6620a1e24792280356893c4f05d199af783a.tar.xz |
Update from bc-java
-rw-r--r-- | crypto/src/util/io/pem/PemReader.cs | 2 |
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)); |