diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-16 23:53:43 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-16 23:53:43 +0700 |
commit | 228c8e787b21b1b471cf4021d72150eb3f1ee791 (patch) | |
tree | dcd64e3caab43d5ddec4952d4049312853d17a1d /crypto/src/tls | |
parent | DTLS: delayed handshake hash update (diff) | |
download | BouncyCastle.NET-ed25519-228c8e787b21b1b471cf4021d72150eb3f1ee791.tar.xz |
Fix return type
Diffstat (limited to 'crypto/src/tls')
-rw-r--r-- | crypto/src/tls/DtlsReliableHandshake.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/src/tls/DtlsReliableHandshake.cs b/crypto/src/tls/DtlsReliableHandshake.cs index 58b9301fd..7581e4766 100644 --- a/crypto/src/tls/DtlsReliableHandshake.cs +++ b/crypto/src/tls/DtlsReliableHandshake.cs @@ -200,7 +200,7 @@ namespace Org.BouncyCastle.Tls } /// <exception cref="IOException"/> - internal Message UpdateHandshakeMessagesDigest(Message message) + internal void UpdateHandshakeMessagesDigest(Message message) { short msg_type = message.Type; switch (msg_type) @@ -226,8 +226,6 @@ namespace Org.BouncyCastle.Tls break; } } - - return message; } internal void Finish() @@ -310,7 +308,7 @@ namespace Org.BouncyCastle.Tls byte[] buf = null; - for (; ; ) + for (;;) { if (m_recordLayer.IsClosed) throw new TlsFatalAlert(AlertDescription.user_canceled); |