diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 16:13:07 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 16:13:07 +0700 |
commit | f0c658a6d112912f819dced69348573f2a529c05 (patch) | |
tree | 6bf59e150efe6cc3c2f941df7a62a0deb7341dec /crypto/src/security | |
parent | No SerializableAttribute in PCL (diff) | |
download | BouncyCastle.NET-ed25519-f0c658a6d112912f819dced69348573f2a529c05.tar.xz |
PCL: Various non-IO changes
Diffstat (limited to 'crypto/src/security')
-rw-r--r-- | crypto/src/security/DotNetUtilities.cs | 2 | ||||
-rw-r--r-- | crypto/src/security/SecureRandom.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/security/DotNetUtilities.cs b/crypto/src/security/DotNetUtilities.cs index 732b5e075..69322b549 100644 --- a/crypto/src/security/DotNetUtilities.cs +++ b/crypto/src/security/DotNetUtilities.cs @@ -1,4 +1,4 @@ -#if !(NETCF_1_0 || SILVERLIGHT) +#if !(NETCF_1_0 || SILVERLIGHT || PORTABLE) using System; using System.Security.Cryptography; diff --git a/crypto/src/security/SecureRandom.cs b/crypto/src/security/SecureRandom.cs index 137a471c1..5bad57a14 100644 --- a/crypto/src/security/SecureRandom.cs +++ b/crypto/src/security/SecureRandom.cs @@ -13,7 +13,7 @@ namespace Org.BouncyCastle.Security { private static long counter = Times.NanoTime(); -#if NETCF_1_0 +#if NETCF_1_0 || PORTABLE private static object counterLock = new object(); private static long NextCounterValue() { |