]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: reduce boring test key size
authorRoland Shoemaker <roland@golang.org>
Thu, 17 Nov 2022 16:51:03 +0000 (08:51 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 17 Nov 2022 17:38:47 +0000 (17:38 +0000)
commit38b9ff60071fc40d197e7002db1320539e74a678
tree76b75330a20c1dfdf7e84d17fed6f7d61f0f94ec
parent5c834a2eb051a0227814b5ea31437aac3ade100c
crypto/x509: reduce boring test key size

Generating 8192 bit keys times out on builders relatively frequently. We
just need something that isn't a boringAllowCert allowed key size so we
can test that a non-boringAllowCert signed intermediate works, so just
use 512 instead since it'll be significantly faster.

Fixes #56798

Change-Id: I416e0d8c3aa11ff44e9870755efa95c74d1013f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/451656
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/crypto/x509/boring_test.go