From b06af94e3319401f1bfdaf4884af723ec7d22782 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 17 Nov 2015 00:07:13 +0700 Subject: Add missing lock for PORTABLE --- crypto/src/security/SecureRandom.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/src/security/SecureRandom.cs b/crypto/src/security/SecureRandom.cs index 875709e57..8683b4729 100644 --- a/crypto/src/security/SecureRandom.cs +++ b/crypto/src/security/SecureRandom.cs @@ -106,7 +106,7 @@ namespace Org.BouncyCastle.Security public static byte[] GetSeed(int length) { -#if NETCF_1_0 +#if NETCF_1_0 || PORTABLE lock (master) #endif return Master.GenerateSeed(length); -- cgit 1.4.1