move unmarshaling of the transport parameters to the crypto setup

This commit is contained in:
Marten Seemann
2019-08-05 10:44:31 +07:00
parent fc37cdc5c5
commit 9b0a4a8813
6 changed files with 69 additions and 107 deletions

View File

@@ -71,7 +71,7 @@ func (mr *MockHandshakeRunnerMockRecorder) OnHandshakeComplete() *gomock.Call {
}
// OnReceivedParams mocks base method
func (m *MockHandshakeRunner) OnReceivedParams(arg0 []byte) {
func (m *MockHandshakeRunner) OnReceivedParams(arg0 *TransportParameters) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "OnReceivedParams", arg0)
}