func NewTLSListener(l net.Listener, tlsinfo *TLSInfo) (net.Listener, error) {
	check := func(context.Context, *tls.Conn) error { return nil }
	return newTLSListener(l, tlsinfo, check)
}
func NewTLSListener(l net.Listener, tlsinfo *TLSInfo) (net.Listener, error) {
	check := func(context.Context, *tls.Conn) error { return nil }
	return newTLSListener(l, tlsinfo, check)
}
func NewTLSListener ( l net . Listener , tlsinfo * TLSInfo ) ( net . Listener , error ) { check := func ( context . Context , * tls . Conn ) error { return nil } return newTLSListener ( l , tlsinfo , check ) }
// NewTLSListener handshakes TLS connections and performs optional CRL checking.
NewTLSListener handshakes TLS connections and performs optional CRL checking .