We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d57292 commit 4f30245Copy full SHA for 4f30245
x509roots/gen_fallback_bundle.go
@@ -105,6 +105,10 @@ func main() {
105
log.Fatalf("failed to parse %q: %s", *certDataPath, err)
106
}
107
108
+ if len(certs) == 0 {
109
+ log.Fatal("certdata.txt appears to contain zero roots")
110
+ }
111
+
112
sort.Slice(certs, func(i, j int) bool {
113
// Sort based on the stringified subject (which may not be unique), and
114
// break any ties by just sorting on the raw DER (which will be unique,
0 commit comments