mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-27 01:07:10 +00:00
chore: add TODO comment to ca.LoadCertificates
This commit is contained in:
@@ -96,6 +96,9 @@ func LoadCertificates(certificate string) (*x509.CertPool, error) {
|
||||
if loadErr != nil {
|
||||
return nil, fmt.Errorf("parse certificate failed, maybe format error:%s, or path error: %s", painTextErr.Error(), loadErr.Error())
|
||||
}
|
||||
//TODO: support dynamic update pool too
|
||||
// blocked by: https://github.com/golang/go/issues/64796
|
||||
// maybe we can direct add `GetRootCAs` and `GetClientCAs` to ourselves tls fork
|
||||
return pool, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user