From 6b8782ddf1c90ce1971ab4d398d89e4b292c9681 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Thu, 9 Jun 2022 09:28:46 +0800 Subject: [PATCH] fix error --- smx509/root_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smx509/root_darwin.go b/smx509/root_darwin.go index 2af1824..922a9e0 100644 --- a/smx509/root_darwin.go +++ b/smx509/root_darwin.go @@ -5,5 +5,5 @@ func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate } func loadSystemRoots() (*CertPool, error) { - return [][]*Certificate{{}}, nil + return &CertPool{systemPool: true}, nil }