]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: move sha1 removal to unspecified future release
authorJordan Liggitt <liggitt@google.com>
Wed, 30 Mar 2022 13:53:58 +0000 (09:53 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 19 Apr 2022 10:53:41 +0000 (10:53 +0000)
Updates #41682

Change-Id: I3a2d6eedf4030cdc7308001aef549eb20eeb11c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/396774
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Filippo Valsorda <valsorda@google.com>
Run-TryBot: Filippo Valsorda <valsorda@google.com>
Auto-Submit: Filippo Valsorda <valsorda@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/crypto/x509/x509.go

index 085408a0f80b52ba1fa1df348635f7765c1a0b51..ceb04ae20e92f6c72c2cfb5724d4b9285726f763 100644 (file)
@@ -733,7 +733,7 @@ var debugAllowSHA1 = godebug.Get("x509sha1") == "1"
 //
 // To temporarily restore support for SHA-1 signatures, include the value
 // "x509sha1=1" in the GODEBUG environment variable. Note that this option will
-// be removed in Go 1.19.
+// be removed in a future release.
 type InsecureAlgorithmError SignatureAlgorithm
 
 func (e InsecureAlgorithmError) Error() string {