diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-03-29 20:19:05 +1030 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-03-29 20:19:05 +1030 |
commit | dffe6e019ea03887b0f1dd9f2ded8a92ff6efcbc (patch) | |
tree | f9afee263f055b122db3afc8ee22dafeb9af09b4 /crypto | |
parent | Avoid copies when handshake records not fragmented (diff) | |
download | BouncyCastle.NET-ed25519-dffe6e019ea03887b0f1dd9f2ded8a92ff6efcbc.tar.xz |
Fix fatal alert type for unexpected server_hello_done
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/tls/TlsClientProtocol.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/tls/TlsClientProtocol.cs b/crypto/src/crypto/tls/TlsClientProtocol.cs index 24fb3f63d..4e4a7a492 100644 --- a/crypto/src/crypto/tls/TlsClientProtocol.cs +++ b/crypto/src/crypto/tls/TlsClientProtocol.cs @@ -427,7 +427,7 @@ namespace Org.BouncyCastle.Crypto.Tls break; } default: - throw new TlsFatalAlert(AlertDescription.handshake_failure); + throw new TlsFatalAlert(AlertDescription.unexpected_message); } this.mConnectionState = CS_CLIENT_FINISHED; |