summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2025-05-19 08:39:55 -0700
committerBrad Fitzpatrick <brad@danga.com>2025-05-19 10:57:28 -0700
commit8009ad74a3b1e0c532a21375266f42336cd22aa3 (patch)
tree6e0b819d951d1ed5065a573a98ca166b330c3896 /control/controlhttp/controlhttpserver/controlhttpserver.go
parentb5770c81c9a8bbb2a56f6c6c1b87e0013ced978a (diff)
downloadtailscale-8009ad74a3b1e0c532a21375266f42336cd22aa3.tar.xz
tailscale-8009ad74a3b1e0c532a21375266f42336cd22aa3.zip
cmd/derper, net/tlsdial: fix client's self-signed cert validation
This fixes the implementation and test from #15208 which apparently never worked. Ignore the metacert when counting the number of expected certs presented. And fix the test, pulling out the TLSConfig setup code into something shared between the real cmd/derper and the test. Fixes #15579 Change-Id: I90526e38e59f89b480629b415f00587b107de10a Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions