mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
Gate certificate fetching on ACME support and return an error when omitted. Fixes #22250 Change-Id: I709928f1fe11b7f20cc854d299175ca3048c037e Signed-off-by: Fredrik Fornwall <[email protected]>
17 lines
302 B
Go
17 lines
302 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build js || ts_omit_acme
|
|
|
|
package tsnet
|
|
|
|
import (
|
|
"crypto/tls"
|
|
|
|
"tailscale.com/feature"
|
|
)
|
|
|
|
func (s *Server) getCert(hi *tls.ClientHelloInfo) (*tls.Certificate, error) {
|
|
return nil, feature.ErrUnavailable
|
|
}
|