blob: bb338a13808358f55037e4df489347cf2c154bbe [file] [log] [blame]
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !cgo
package main
import (
"crypto/x509"
"errors"
)
func loadSystemRoots() (*x509.CertPool, error) {
return nil, errors.New("can't load system roots: cgo not enabled")
}