diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-04-16 11:32:54 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-04-16 11:32:54 +0400 |
commit | 240b9c03eee7fa39d20018d82edc66d244b61d6f (patch) | |
tree | 804554d3982b2a96377dfa3a772623948a1193c5 /core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java | |
parent | 1b2efc5633397c40766389d56f0267fd94579b28 (diff) |
Use a separate PRNG for nonces
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java index 5994c90a..8499b83e 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java @@ -56,7 +56,7 @@ public class TlsServerProtocol this.tlsServerContext = new TlsServerContextImpl(secureRandom, securityParameters); this.securityParameters.serverRandom = createRandomBlock(tlsServer.shouldUseGMTUnixTime(), - tlsServerContext.getSecureRandom(), ExporterLabel.server_random); + tlsServerContext.getNonceRandomGenerator()); this.tlsServer.init(tlsServerContext); this.recordStream.init(tlsServerContext); |