diff options
Diffstat (limited to 'crypto/src/tls/TlsClientProtocol.cs')
-rw-r--r-- | crypto/src/tls/TlsClientProtocol.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/src/tls/TlsClientProtocol.cs b/crypto/src/tls/TlsClientProtocol.cs index 8fb1a39b7..190a1927f 100644 --- a/crypto/src/tls/TlsClientProtocol.cs +++ b/crypto/src/tls/TlsClientProtocol.cs @@ -954,7 +954,10 @@ namespace Org.BouncyCastle.Tls agreement.ReceivePeerValue(keyShareEntry.KeyExchange); securityParameters.m_sharedSecret = agreement.CalculateSecret(); - TlsUtilities.Establish13PhaseSecrets(m_tlsClientContext); + // TODO[tls13-psk] Use PSK early secret if negotiated + TlsSecret pskEarlySecret = null; + + TlsUtilities.Establish13PhaseSecrets(m_tlsClientContext, pskEarlySecret); } { |