diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-27 19:17:06 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-27 19:17:06 +0700 |
commit | 6ad4f3694b7f8c54b91270d6b81667825070a708 (patch) | |
tree | c50417972413b56a959e38c2263b10299943331f /crypto/src/tls/TlsServerProtocol.cs | |
parent | Add pre_shared_key to ClientHello (diff) | |
download | BouncyCastle.NET-ed25519-6ad4f3694b7f8c54b91270d6b81667825070a708.tar.xz |
Seal handshake hash externally
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tls/TlsServerProtocol.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsServerProtocol.cs b/crypto/src/tls/TlsServerProtocol.cs index 89365afad..1320cf5fa 100644 --- a/crypto/src/tls/TlsServerProtocol.cs +++ b/crypto/src/tls/TlsServerProtocol.cs @@ -874,6 +874,8 @@ namespace Org.BouncyCastle.Tls if (TlsUtilities.IsTlsV13(securityParameters.NegotiatedVersion)) { + m_handshakeHash.SealHashAlgorithms(); + if (serverHello.IsHelloRetryRequest()) { TlsUtilities.AdjustTranscriptForRetry(m_handshakeHash); |