remove the tls.Config from the quic.Config

The tls.Config now is a separate parameter to all Listen and Dial
functions in the quic package.
This commit is contained in:
Marten Seemann
2017-06-30 17:33:35 +02:00
parent 890b801a60
commit a851aaacda
14 changed files with 126 additions and 86 deletions

View File

@@ -169,6 +169,7 @@ var _ = Describe("Session", func() {
protocol.Version35,
0,
scfg,
nil,
populateServerConfig(&Config{}),
)
Expect(err).NotTo(HaveOccurred())
@@ -220,6 +221,7 @@ var _ = Describe("Session", func() {
protocol.Version35,
0,
scfg,
nil,
conf,
)
Expect(err).NotTo(HaveOccurred())
@@ -1635,6 +1637,7 @@ var _ = Describe("Client Session", func() {
"hostname",
protocol.Version35,
0,
nil,
populateClientConfig(&Config{}),
nil,
)