diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-08 07:36:07 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-08 07:36:07 +0400 |
commit | 308cc3f5e3525ef94bbf6ac5b522275f37577a68 (patch) | |
tree | 9df4705f6da33a84a90341824de8c21ea3ecc1f7 /core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java | |
parent | cc6a790cde64d893ea5087c80c7a4af619e18f28 (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.java | 4 |
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) |