//go:build go1.17
// +build go1.17

package websocket

import (
	
	
)

func doHandshake( context.Context,  *tls.Conn,  *tls.Config) error {
	if  := .HandshakeContext();  != nil {
		return 
	}
	if !.InsecureSkipVerify {
		if  := .VerifyHostname(.ServerName);  != nil {
			return 
		}
	}
	return nil
}