diff --git a/smx509/root_darwin.go b/smx509/root_darwin.go new file mode 100644 index 0000000..4343e8c --- /dev/null +++ b/smx509/root_darwin.go @@ -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") +}