From 454f5e65e84d49a34d7839343b584a21b34b7cd9 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 21 Jun 2022 23:10:22 +0700 Subject: Cleanup old build systems --- crypto/src/tls/AbstractTlsContext.cs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'crypto/src/tls/AbstractTlsContext.cs') diff --git a/crypto/src/tls/AbstractTlsContext.cs b/crypto/src/tls/AbstractTlsContext.cs index 0317b1430..be7a67dfc 100644 --- a/crypto/src/tls/AbstractTlsContext.cs +++ b/crypto/src/tls/AbstractTlsContext.cs @@ -13,21 +13,10 @@ namespace Org.BouncyCastle.Tls { private static long counter = Times.NanoTime(); -#if NETCF_1_0 - private static object counterLock = new object(); - private static long NextCounterValue() - { - lock (counterLock) - { - return ++counter; - } - } -#else private static long NextCounterValue() { return Interlocked.Increment(ref counter); } -#endif private static TlsNonceGenerator CreateNonceGenerator(TlsCrypto crypto, int connectionEnd) { -- cgit 1.4.1