github.com/emmansun/gmsm@v0.29.1/smx509/root_darwin.go (about)

     1  package smx509
     2  
     3  //
     4  // We DO NOT support system verify on darwin due to complex internal package dependencies.
     5  //
     6  func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
     7  	return nil, nil
     8  }
     9  
    10  func loadSystemRoots() (*CertPool, error) {
    11  	return &CertPool{systemPool: true}, nil
    12  }