git-lfs/lfshttp/certs_windows.go
Preben Ingvaldsen d101bdb605 lfsapi: extract new lfshttp package
Extract more basic http-related functionality out of lfsapi and
into a new package, lfshttp. Everything is currently functional
aside from authorization.
2018-09-11 14:51:29 -07:00

9 lines
219 B
Go

package lfshttp
import "crypto/x509"
func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool {
// golang already supports Windows Certificate Store for self-signed certs
return pool
}