github.com/goplusjs/gopherjs@v1.2.6-0.20211206034512-f187917453b8/compiler/natives/src/crypto/x509/x509.go (about)

     1  // +build js
     2  
     3  package x509
     4  
     5  import (
     6  	"errors"
     7  )
     8  
     9  func loadSystemRoots() (*CertPool, error) {
    10  	return nil, errors.New("crypto/x509: system root pool is not available in GopherJS")
    11  }