MCPcopy Create free account
hub / github.com/XTLS/REALITY / fipsAllowChain

Function fipsAllowChain

common.go:1796–1808  ·  view source on GitHub ↗
(chain []*x509.Certificate)

Source from the content-addressed store, hash-verified

1794}
1795
1796func fipsAllowChain(chain []*x509.Certificate) bool {
1797 if len(chain) == 0 {
1798 return false
1799 }
1800
1801 for _, cert := range chain {
1802 if !isCertificateAllowedFIPS(cert) {
1803 return false
1804 }
1805 }
1806
1807 return true
1808}

Callers 1

fipsAllowedChainsFunction · 0.85

Calls 1

isCertificateAllowedFIPSFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…