Skip to content

Commit 300ed43

Browse files
committed
crypto/x509: fix test to prevent Gerrit keycheck errors
Change-Id: I9e6a11c7d8c61d0182467438b35eb6756db7aa89 Reviewed-on: https://go-review.googlesource.com/c/go/+/228198 Run-TryBot: Katie Hockman <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]>
1 parent ce52871 commit 300ed43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crypto/x509/x509_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,9 @@ FOq7cMJvODRwvMin9HwNHijXKp8iikXoAnaEHi1kLR4JtSlxH5WKTnmHUWCa54ZA
12421242
9mDH0e5odhcdkMySkwc=
12431243
-----END CERTIFICATE-----`
12441244

1245-
const ed25519CRLKey = `-----BEGIN PRIVATE KEY-----
1245+
var ed25519CRLKey = testingKey(`-----BEGIN TEST KEY-----
12461246
MC4CAQAwBQYDK2VwBCIEINdKh2096vUBYu4EIFpjShsUSh3vimKya1sQ1YTT4RZG
1247-
-----END PRIVATE KEY-----`
1247+
-----END TEST KEY-----`)
12481248

12491249
func TestCRLCreation(t *testing.T) {
12501250
block, _ := pem.Decode([]byte(pemPrivateKey))

0 commit comments

Comments
 (0)