From 1d0ff8af6e1a9b217068ee0f800592412d87edce Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 10 Jun 2021 15:55:07 +0700 Subject: Fix portability issues around Socket class --- Portable.BouncyCastle.nuspec | 3 +++ crypto/BouncyCastle.Android.csproj | 1 + crypto/BouncyCastle.csproj | 3 ++- crypto/BouncyCastle.iOS.csproj | 1 + crypto/crypto.csproj | 5 ++++ crypto/src/crypto/tls/DtlsRecordLayer.cs | 27 ++++++++++---------- crypto/src/crypto/tls/DtlsTransport.cs | 38 +++++++++++++++++++--------- crypto/src/crypto/tls/TlsException.cs | 10 ++++++++ crypto/src/crypto/tls/TlsTimeoutException.cs | 23 +++++++++++++++++ crypto/src/crypto/tls/TlsUtilities.cs | 11 +++++--- crypto/test/UnitTests.csproj | 2 +- 11 files changed, 93 insertions(+), 31 deletions(-) create mode 100644 crypto/src/crypto/tls/TlsTimeoutException.cs diff --git a/Portable.BouncyCastle.nuspec b/Portable.BouncyCastle.nuspec index c58a23a80..ece85f9d1 100644 --- a/Portable.BouncyCastle.nuspec +++ b/Portable.BouncyCastle.nuspec @@ -42,6 +42,7 @@ + @@ -58,6 +59,7 @@ + @@ -74,6 +76,7 @@ + diff --git a/crypto/BouncyCastle.Android.csproj b/crypto/BouncyCastle.Android.csproj index 0f15e30ab..592dcc977 100644 --- a/crypto/BouncyCastle.Android.csproj +++ b/crypto/BouncyCastle.Android.csproj @@ -1233,6 +1233,7 @@ + diff --git a/crypto/BouncyCastle.csproj b/crypto/BouncyCastle.csproj index f7a15d49f..26db97e1b 100644 --- a/crypto/BouncyCastle.csproj +++ b/crypto/BouncyCastle.csproj @@ -1227,6 +1227,7 @@ + @@ -1683,4 +1684,4 @@ - + \ No newline at end of file diff --git a/crypto/BouncyCastle.iOS.csproj b/crypto/BouncyCastle.iOS.csproj index 64bb4fdf9..17fe3dda5 100644 --- a/crypto/BouncyCastle.iOS.csproj +++ b/crypto/BouncyCastle.iOS.csproj @@ -1228,6 +1228,7 @@ + diff --git a/crypto/crypto.csproj b/crypto/crypto.csproj index ca67f3487..1ba78a83c 100644 --- a/crypto/crypto.csproj +++ b/crypto/crypto.csproj @@ -6023,6 +6023,11 @@ SubType = "Code" BuildAction = "Compile" /> + - + \ No newline at end of file -- cgit 1.4.1