diff options
-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); |