diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-17 11:43:29 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-17 11:43:29 +0700 |
commit | c168eb3638d6d73d1681753ce0e1fe82ffde450e (patch) | |
tree | d25419a9a56b5597857d8e51c6c28ec6448bf187 | |
parent | Refactoring in Tls.Crypto.Impl.BC (diff) | |
download | BouncyCastle.NET-ed25519-c168eb3638d6d73d1681753ce0e1fe82ffde450e.tar.xz |
TLS: NotifyConnectionClosed after failure
-rw-r--r-- | crypto/src/tls/TlsProtocol.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsProtocol.cs b/crypto/src/tls/TlsProtocol.cs index e093ff07a..0ee702a96 100644 --- a/crypto/src/tls/TlsProtocol.cs +++ b/crypto/src/tls/TlsProtocol.cs @@ -312,6 +312,8 @@ namespace Org.BouncyCastle.Tls } CloseConnection(); + + TlsUtilities.NotifyConnectionClosed(Peer); } /// <exception cref="IOException"/> |