mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-10-10 19:32:04 +00:00
parent
3734c54d8f
commit
940b4385bf
1272 changed files with 398621 additions and 3 deletions
13
vendor/github.com/docker/go-connections/tlsconfig/certpool_other.go
generated
vendored
Normal file
13
vendor/github.com/docker/go-connections/tlsconfig/certpool_other.go
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
// +build !go1.7
|
||||
|
||||
package tlsconfig
|
||||
|
||||
import (
|
||||
"crypto/x509"
|
||||
)
|
||||
|
||||
// SystemCertPool returns an new empty cert pool,
|
||||
// accessing system cert pool is supported in go 1.7
|
||||
func SystemCertPool() (*x509.CertPool, error) {
|
||||
return x509.NewCertPool(), nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue