Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
crypto/x509: parse trust settings in root_nocgo_darwin #26830
#24652 addressed a number of issues with root_[no]cgo_darwin, but the nocgo version still resorts to shelling out to security instead of parsing the trust settings.
Ideally, we want to obtain the trust settings from security, and apply the same logic as the cgo code. (Possibly the same code, so we don't make mistakes twice.)