From 300ed43795f48bbc5b37b33f392caa8b8b1d9a7a Mon Sep 17 00:00:00 2001 From: Katie Hockman Date: Mon, 13 Apr 2020 15:47:53 -0400 Subject: [PATCH] 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 TryBot-Result: Gobot Gobot Reviewed-by: Filippo Valsorda --- src/crypto/x509/x509_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/x509/x509_test.go b/src/crypto/x509/x509_test.go index b7c5679e7a..bbb1f8d4f1 100644 --- a/src/crypto/x509/x509_test.go +++ b/src/crypto/x509/x509_test.go @@ -1242,9 +1242,9 @@ FOq7cMJvODRwvMin9HwNHijXKp8iikXoAnaEHi1kLR4JtSlxH5WKTnmHUWCa54ZA 9mDH0e5odhcdkMySkwc= -----END CERTIFICATE-----` -const ed25519CRLKey = `-----BEGIN PRIVATE KEY----- +var ed25519CRLKey = testingKey(`-----BEGIN TEST KEY----- MC4CAQAwBQYDK2VwBCIEINdKh2096vUBYu4EIFpjShsUSh3vimKya1sQ1YTT4RZG ------END PRIVATE KEY-----` +-----END TEST KEY-----`) func TestCRLCreation(t *testing.T) { block, _ := pem.Decode([]byte(pemPrivateKey)) -- 2.48.1