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-06-22 08:23:50 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-22 08:23:50 +0400
commitf4785f88c92f3f15b4c7bc0cb74ca67726891cb7 (patch)
tree7bcfb1146f660c0627a952a1bee2f11eb540bd35 /core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
parentf184909c8b211b28f976d1fdf7b14bc72f29bb3e (diff)
Cleanup state after handshake
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.java13
1 files changed, 13 insertions, 0 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 74069698..7ff819ec 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
@@ -91,6 +91,19 @@ public class TlsClientProtocol
completeHandshake();
}
+ protected void cleanupHandshake()
+ {
+ super.cleanupHandshake();
+
+ this.offeredCipherSuites = null;
+ this.offeredCompressionMethods = null;
+ this.clientExtensions = null;
+ this.keyExchange = null;
+ this.authentication = null;
+ this.certificateStatus = null;
+ this.certificateRequest = null;
+ }
+
protected AbstractTlsContext getContext()
{
return tlsClientContext;