diff options
| author | Russ Cox <rsc@golang.org> | 2022-10-25 23:10:13 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-10-26 16:35:20 +0000 |
| commit | 2a2b163bb9125389c5f70e65aec21816e2ea09c5 (patch) | |
| tree | bc8ddf9f7643ecd7746c0f965c626d4362e58f6a /src/testing/example.go | |
| parent | 3afba3124df90f1b2f56d3324793f16649a2d93a (diff) | |
| download | go-2a2b163bb9125389c5f70e65aec21816e2ea09c5.tar.xz | |
crypto/x509: respect GODEBUG changes for allowing SHA1 certificates
This allows programs that want SHA1 support to call os.Setenv at startup
instead of insisting that users set the environment variable themselves.
For #41682.
Fixes #56436.
Change-Id: Idcb96212a1d8c560e1dd8eaf7c80b6266f16431e
Reviewed-on: https://go-review.googlesource.com/c/go/+/445496
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/testing/example.go')
0 files changed, 0 insertions, 0 deletions
