Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-11-08 07:36:07 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-11-08 07:36:07 +0400
commit308cc3f5e3525ef94bbf6ac5b522275f37577a68 (patch)
tree9df4705f6da33a84a90341824de8c21ea3ecc1f7 /core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
parentcc6a790cde64d893ea5087c80c7a4af619e18f28 (diff)
Call sealHashAlgorithms() call after server_hello_done sent/received
Refactor some of the calls around the handshake hash
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
index 7245421e..5561ed0a 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
@@ -250,7 +250,7 @@ public class TlsClientProtocol
*/
this.securityParameters.verifyDataLength = 12;
- this.recordStream.notifyHelloComplete();
+ this.recordStream.getHandshakeHash().notifyPRFDetermined();
if (this.resumedSession)
{
@@ -322,7 +322,7 @@ public class TlsClientProtocol
this.connection_state = CS_SERVER_HELLO_DONE;
- // TODO Seal the handshake hash list of digests
+ this.recordStream.getHandshakeHash().sealHashAlgorithms();
Vector clientSupplementalData = tlsClient.getClientSupplementalData();
if (clientSupplementalData != null)