diff --git a/lfshttp/certs_freebsd.go b/lfshttp/certs_freebsd.go deleted file mode 100644 index 4c8e80a5..00000000 --- a/lfshttp/certs_freebsd.go +++ /dev/null @@ -1,8 +0,0 @@ -package lfshttp - -import "crypto/x509" - -func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool { - // Do nothing, use golang default - return pool -} diff --git a/lfshttp/certs_linux.go b/lfshttp/certs_linux.go deleted file mode 100644 index 4c8e80a5..00000000 --- a/lfshttp/certs_linux.go +++ /dev/null @@ -1,8 +0,0 @@ -package lfshttp - -import "crypto/x509" - -func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool { - // Do nothing, use golang default - return pool -} diff --git a/lfshttp/certs_dragonfly.go b/lfshttp/certs_nix.go similarity index 86% rename from lfshttp/certs_dragonfly.go rename to lfshttp/certs_nix.go index 4c8e80a5..4dc3d2bf 100644 --- a/lfshttp/certs_dragonfly.go +++ b/lfshttp/certs_nix.go @@ -1,3 +1,5 @@ +// +build !darwin,!windows + package lfshttp import "crypto/x509" diff --git a/lfshttp/certs_openbsd.go b/lfshttp/certs_openbsd.go deleted file mode 100644 index 4c8e80a5..00000000 --- a/lfshttp/certs_openbsd.go +++ /dev/null @@ -1,8 +0,0 @@ -package lfshttp - -import "crypto/x509" - -func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool { - // Do nothing, use golang default - return pool -}