diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 23:10:22 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 23:10:22 +0700 |
commit | 454f5e65e84d49a34d7839343b584a21b34b7cd9 (patch) | |
tree | 18a13466d3a49a45daec6d982720409f6fd8bfd3 /crypto/test/src/asn1 | |
parent | Remove ApplicationSpecific classes (diff) | |
download | BouncyCastle.NET-ed25519-454f5e65e84d49a34d7839343b584a21b34b7cd9.tar.xz |
Cleanup old build systems
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"); |