mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
fix error
This commit is contained in:
parent
936c19772e
commit
6b8782ddf1
@ -5,5 +5,5 @@ func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate
|
|||||||
}
|
}
|
||||||
|
|
||||||
func loadSystemRoots() (*CertPool, error) {
|
func loadSystemRoots() (*CertPool, error) {
|
||||||
return [][]*Certificate{{}}, nil
|
return &CertPool{systemPool: true}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user