diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-05 21:06:39 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-05 21:06:39 +0700 |
commit | 53a4b3d54e618e62f61c2ca72f56a9088c430135 (patch) | |
tree | 5560a2a0b3b2872d1434b17017419d598995a049 /crypto/src/tls/DtlsRecordLayer.cs | |
parent | Merge branch 'Optimize-structures' of github.com:harrison314/bc-csharp (diff) | |
download | BouncyCastle.NET-ed25519-53a4b3d54e618e62f61c2ca72f56a9088c430135.tar.xz |
Preprocessor symbol cleanup
Diffstat (limited to 'crypto/src/tls/DtlsRecordLayer.cs')
-rw-r--r-- | crypto/src/tls/DtlsRecordLayer.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/src/tls/DtlsRecordLayer.cs b/crypto/src/tls/DtlsRecordLayer.cs index b93253146..7ec77c5da 100644 --- a/crypto/src/tls/DtlsRecordLayer.cs +++ b/crypto/src/tls/DtlsRecordLayer.cs @@ -1,8 +1,6 @@ using System; using System.IO; -#if !PORTABLE || DOTNET using System.Net.Sockets; -#endif using Org.BouncyCastle.Tls.Crypto; using Org.BouncyCastle.Utilities; @@ -452,7 +450,6 @@ namespace Org.BouncyCastle.Tls { return -1; } -#if !PORTABLE || DOTNET catch (SocketException e) { if (TlsUtilities.IsTimeout(e)) @@ -460,7 +457,6 @@ namespace Org.BouncyCastle.Tls throw e; } -#endif // TODO[tls-port] Can we support interrupted IO on .NET? //catch (InterruptedIOException e) //{ |