mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
as a temp solution for darwin
This commit is contained in:
parent
6e769eeaf1
commit
163fb51082
13
smx509/root_darwin.go
Normal file
13
smx509/root_darwin.go
Normal 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")
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user