diff options
Diffstat (limited to 'crypto/src/util/io/pem/PemReader.cs')
-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)); |