remove unused key exchange function from client crypto setup

This commit is contained in:
Marten Seemann
2018-03-28 05:31:56 +07:00
parent 00833c0840
commit 1f9ab3b65f
2 changed files with 0 additions and 3 deletions

View File

@@ -44,7 +44,6 @@ type cryptoSetupClient struct {
clientHelloCounter int
serverVerified bool // has the certificate chain and the proof already been verified
keyDerivation QuicCryptoKeyDerivationFunction
keyExchange KeyExchangeFunction
receivedSecurePacket bool
nullAEAD crypto.AEAD
@@ -90,7 +89,6 @@ func NewCryptoSetupClient(
certManager: crypto.NewCertManager(tlsConfig),
params: params,
keyDerivation: crypto.DeriveQuicCryptoAESKeys,
keyExchange: getEphermalKEX,
nullAEAD: nullAEAD,
paramsChan: paramsChan,
handshakeEvent: handshakeEvent,