don't force clients to use tls.Config.InsecureSkipVerify when using mint

mint recently implemented certificate verification.
This reverts commit d76f5a839c.
This commit is contained in:
Marten Seemann
2018-02-01 10:59:53 +08:00
parent 1cc209e4fb
commit d671cf134c
4 changed files with 7 additions and 32 deletions

View File

@@ -79,8 +79,7 @@ var _ = Describe("Handshake tests", func() {
})
Context("Certifiate validation", func() {
// no need to run these tests with TLS. mint doesn't do certificate verification
for _, v := range protocol.SupportedVersions {
for _, v := range []protocol.VersionNumber{protocol.Version39, protocol.VersionTLS} {
version := v
Context(fmt.Sprintf("using %s", version), func() {