diff options
Diffstat (limited to 'crypto/src/tls/TlsUtilities.cs')
-rw-r--r-- | crypto/src/tls/TlsUtilities.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsUtilities.cs b/crypto/src/tls/TlsUtilities.cs index 69a458a5a..92102e826 100644 --- a/crypto/src/tls/TlsUtilities.cs +++ b/crypto/src/tls/TlsUtilities.cs @@ -5730,5 +5730,14 @@ namespace Org.BouncyCastle.Tls return 1000; } + + // TODO[api] Not needed once NotifyConnectionClosed() has been added to TlsPeer + internal static void NotifyConnectionClosed(TlsPeer tlsPeer) + { + if (tlsPeer is AbstractTlsPeer abstractTlsPeer) + { + abstractTlsPeer.NotifyConnectionClosed(); + } + } } } |