]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] net/http/internal: use FIPS-compliant certificate
authorDamien Neil <dneil@google.com>
Mon, 4 Oct 2021 17:20:22 +0000 (10:20 -0700)
committerDmitri Shuralyov <dmitshur@golang.org>
Thu, 27 Jan 2022 15:54:13 +0000 (15:54 +0000)
commit57d5d8f98748d0c3f47d44898acaa019c548ffc1
tree8ca27518e43f446d53b291586e910b048234aa0f
parent8144f1dc261315004f12bd7cf1e8c043d74965a6
[release-branch.go1.16] net/http/internal: use FIPS-compliant certificate

Upgrade the test certificate from RSA 1024 (not FIPS-approved)
to RSA 2048 (FIPS-approved), allowing tests to pass when
the dev.boringcrypto branch FIPS-only mode is enabled.

For #48674.
Fixes #50585.

Change-Id: I613d2f8d0207bf3683fd0df256bf0167604996c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/353869
Trust: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
(cherry picked from commit 90860e0c3110ac5898dfe8e0e0fafd0aea8d979a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/380997
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/http/internal/testcert.go