summary refs log tree commit diff
path: root/crypto/src/tls/TlsUtilities.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 23:10:22 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 23:10:22 +0700
commit454f5e65e84d49a34d7839343b584a21b34b7cd9 (patch)
tree18a13466d3a49a45daec6d982720409f6fd8bfd3 /crypto/src/tls/TlsUtilities.cs
parentRemove ApplicationSpecific classes (diff)
downloadBouncyCastle.NET-ed25519-454f5e65e84d49a34d7839343b584a21b34b7cd9.tar.xz
Cleanup old build systems
Diffstat (limited to 'crypto/src/tls/TlsUtilities.cs')
-rw-r--r--crypto/src/tls/TlsUtilities.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/src/tls/TlsUtilities.cs b/crypto/src/tls/TlsUtilities.cs
index f0c8ba194..1e0b403c9 100644
--- a/crypto/src/tls/TlsUtilities.cs
+++ b/crypto/src/tls/TlsUtilities.cs
@@ -5454,11 +5454,7 @@ namespace Org.BouncyCastle.Tls
 #if !PORTABLE || DOTNET
         public static bool IsTimeout(SocketException e)
         {
-#if NET_1_1
-            return 10060 == e.ErrorCode;
-#else
             return SocketError.TimedOut == e.SocketErrorCode;
-#endif
         }
 #endif