git-lfs/lfshttp/certs_nix.go
Dennis Ameling d7a3a090df Update formatting for Go 1.17
From the 1.17 release notes (https://golang.org/doc/go1.17#gofmt): gofmt (and go fmt) now synchronizes //go:build lines with // +build lines.

More info about this change can be found at https://golang.org/design/draft-gobuild
2021-08-17 20:24:58 +02:00

12 lines
237 B
Go

//go:build !darwin && !windows
// +build !darwin,!windows
package lfshttp
import "crypto/x509"
func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool {
// Do nothing, use golang default
return pool
}