diff --git a/smx509/root_darwin.go b/smx509/root_darwin.go index 4343e8c..2af1824 100644 --- a/smx509/root_darwin.go +++ b/smx509/root_darwin.go @@ -1,13 +1,9 @@ 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") + return [][]*Certificate{{}}, nil }