github.com/zmap/zcrypto@v0.0.0-20240512203510-0fef58d9a9db/ct/x509/root_nocgo_darwin.go (about)

     1  // Copyright 2013 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Use non-cgo on Darwin to prevent duplicate symbols on cgo
     6  
     7  //go:build !arm && !arm64 && !ios
     8  // +build !arm,!arm64,!ios
     9  
    10  package x509
    11  
    12  func loadSystemRoots() (*CertPool, error) {
    13  	return execSecurityRoots()
    14  }