Skip to content

Commit b0784b7

Browse files
dmitshurgopherbot
authored andcommitted
x509roots/fallback: drop obsolete build constraint
Back when Go 1.20 and 1.19 were supported, the go1.20 build constraint was there to establish 1.20 as the minimum for the package, because it requires an API that was added only in Go 1.20 and there was no way to make it work with 1.19's APIs. By now only Go 1.24 and 1.23 are supported, and the minimum is set via the go directive in go.mod. For golang/go#57792. Change-Id: Ie4d37d34993374cdd380667930ee667af97eeccb Reviewed-on: https://go-review.googlesource.com/c/crypto/+/649716 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 911360c commit b0784b7

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

x509roots/fallback/bundle.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x509roots/fallback/fallback.go

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.20
6-
75
// Package fallback embeds a set of fallback X.509 trusted roots in the
86
// application by automatically invoking [x509.SetFallbackRoots]. This allows
97
// the application to work correctly even if the operating system does not

x509roots/gen_fallback_bundle.go

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ import (
2727

2828
const tmpl = `// Code generated by gen_fallback_bundle.go; DO NOT EDIT.
2929
30-
//go:build go1.20
31-
3230
package fallback
3331
3432
import "crypto/x509"

0 commit comments

Comments
 (0)