as a temp solution for darwin

This commit is contained in:
Sun Yimin 2022-06-09 09:03:49 +08:00 committed by GitHub
parent 6e769eeaf1
commit 163fb51082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
smx509/root_darwin.go Normal file
View File

@ -0,0 +1,13 @@
package smx509
import (
"errors"
)
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
return nil, nil
}
func loadSystemRoots() (*CertPool, error) {
return nil, errors.New("x509: gmsm does not support darwin system root yet")
}