diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-07 17:51:23 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-07 17:51:23 +0700 |
commit | 3e43ee2765dd0e059e616bc8d5fbf403645fa3a9 (patch) | |
tree | 54c4df3e32d6937d7fca3e9746731e581bb6aa76 /crypto/src/tls/TlsProtocol.cs | |
parent | Refactoring in DTLS (diff) | |
download | BouncyCastle.NET-ed25519-3e43ee2765dd0e059e616bc8d5fbf403645fa3a9.tar.xz |
Refactoring in DTLS
Diffstat (limited to 'crypto/src/tls/TlsProtocol.cs')
-rw-r--r-- | crypto/src/tls/TlsProtocol.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/tls/TlsProtocol.cs b/crypto/src/tls/TlsProtocol.cs index 9b8039a5e..773412973 100644 --- a/crypto/src/tls/TlsProtocol.cs +++ b/crypto/src/tls/TlsProtocol.cs @@ -1470,8 +1470,8 @@ namespace Org.BouncyCastle.Tls return false; } - TlsSecret sessionMasterSecret = TlsUtilities.GetSessionMasterSecret(Context.Crypto, - sessionParameters.MasterSecret); + TlsCrypto crypto = Context.Crypto; + TlsSecret sessionMasterSecret = TlsUtilities.GetSessionMasterSecret(crypto, sessionParameters.MasterSecret); if (null == sessionMasterSecret) return false; |