summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/encodings/Pkcs1Encoding.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/encodings/Pkcs1Encoding.cs b/crypto/src/crypto/encodings/Pkcs1Encoding.cs

index b2d60fe4c..ce2f15a38 100644 --- a/crypto/src/crypto/encodings/Pkcs1Encoding.cs +++ b/crypto/src/crypto/encodings/Pkcs1Encoding.cs
@@ -41,7 +41,7 @@ namespace Org.BouncyCastle.Crypto.Encodings { string strictProperty = Platform.GetEnvironmentVariable(StrictLengthEnabledProperty); - strictLengthEnabled = new bool[]{ strictProperty == null || strictProperty.Equals("true")}; + strictLengthEnabled = new bool[]{ strictProperty == null || Platform.EqualsIgnoreCase("true", strictProperty) }; }