diff options
Diffstat (limited to 'crypto/test/src/asn1')
-rw-r--r-- | crypto/test/src/asn1/test/ASN1IntegerTest.cs | 4 | ||||
-rw-r--r-- | crypto/test/src/asn1/test/MiscTest.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/asn1/test/ASN1IntegerTest.cs b/crypto/test/src/asn1/test/ASN1IntegerTest.cs index 3d0c6fcd0..0e37a7e10 100644 --- a/crypto/test/src/asn1/test/ASN1IntegerTest.cs +++ b/crypto/test/src/asn1/test/ASN1IntegerTest.cs @@ -24,7 +24,7 @@ namespace Org.BouncyCastle.Asn1.Tests public override void PerformTest() { -#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || (PORTABLE && !DOTNET) || NET_1_1 +#if PORTABLE && !DOTNET // Can't SetEnvironmentVariable ! #else SetAllowUnsafeProperty(true); @@ -351,7 +351,7 @@ namespace Org.BouncyCastle.Asn1.Tests private void SetAllowUnsafeProperty(bool allowUnsafe) { -#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || (PORTABLE && !DOTNET) || NET_1_1 +#if PORTABLE && !DOTNET // Can't SetEnvironmentVariable ! #else Environment.SetEnvironmentVariable(DerInteger.AllowUnsafeProperty, allowUnsafe ? "true" : "false"); diff --git a/crypto/test/src/asn1/test/MiscTest.cs b/crypto/test/src/asn1/test/MiscTest.cs index 3a7eb5af6..44158ab3e 100644 --- a/crypto/test/src/asn1/test/MiscTest.cs +++ b/crypto/test/src/asn1/test/MiscTest.cs @@ -85,7 +85,7 @@ namespace Org.BouncyCastle.Asn1.Tests private void SetAllowUnsafeProperty(bool allowUnsafe) { -#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || (PORTABLE && !DOTNET) || NET_1_1 +#if PORTABLE && !DOTNET // Can't SetEnvironmentVariable ! #else Environment.SetEnvironmentVariable(DerInteger.AllowUnsafeProperty, allowUnsafe ? "true" : "false"); |