fix error

This commit is contained in:
Sun Yimin 2022-06-09 09:28:46 +08:00 committed by GitHub
parent 936c19772e
commit 6b8782ddf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }