go/src/crypto
Russ Cox 2a2b163bb9 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>
2022-10-26 16:35:20 +00:00
..
aes crypto/internal/subtle: rename to crypto/internal/alias 2022-08-17 18:46:05 +00:00
boring crypto/internal/boring: update to newer boringcrypto, add arm64 2022-08-18 21:28:09 +00:00
cipher crypto: use bytes.Clone 2022-09-28 03:55:33 +00:00
des crypto/internal/subtle: rename to crypto/internal/alias 2022-08-17 18:46:05 +00:00
dsa
ecdh crypto/ecdh,crypto/internal/nistec: enable pruning of unused curves 2022-08-12 00:04:29 +00:00
ecdsa crypto/internal/boring/bcache: make Cache type-safe using generics 2022-08-18 00:30:19 +00:00
ed25519 crypto/ed25519: implement Ed25519ph in Sign and VerifyWithOptions 2022-10-24 12:11:20 +00:00
elliptic crypto/ecdh: new package 2022-08-12 00:03:39 +00:00
hmac all: boringcrypto post-merge cleanup 2022-06-06 19:10:07 +00:00
internal crypto: use bytes.Clone 2022-09-28 03:55:33 +00:00
md5 crypto: use encoding append functions 2022-09-20 02:58:09 +00:00
rand all: remove uses of rand.Seed 2022-10-26 16:24:57 +00:00
rc4 crypto/internal/subtle: rename to crypto/internal/alias 2022-08-17 18:46:05 +00:00
rsa crypto/rsa,crypto/internal/boring: fix PSS salt handling 2022-09-27 23:19:20 +00:00
sha1 all: remove redundant type conversion 2022-10-06 04:37:00 +00:00
sha256 crypto/sha256, cmd/internal/notsha256: improve PPC64 sha256 2022-10-21 13:29:47 +00:00
sha512 all: remove redundant type conversion 2022-10-06 04:37:00 +00:00
subtle crypto/subtle: add XORBytes 2022-08-17 18:47:33 +00:00
tls crypto/tls,crypto/x509: clarify certificate ownership 2022-10-24 17:35:57 +00:00
x509 crypto/x509: respect GODEBUG changes for allowing SHA1 certificates 2022-10-26 16:35:20 +00:00
crypto.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
issue21104_test.go