aboutsummaryrefslogtreecommitdiff
path: root/ssh/certs_test.go
diff options
context:
space:
mode:
authorNeal Patel <nealpatel@google.com>2026-01-27 21:32:36 +0000
committerGopher Robot <gobot@golang.org>2026-03-10 10:37:09 -0700
commit159944f128e9b3fdeb5a5b9b102a961904601a87 (patch)
treeecb65c74db2b73ca81d1387af1e393a20876bf54 /ssh/certs_test.go
parenta408498e55412f2ae2a058336f78889fb1ba6115 (diff)
downloadgo-x-crypto-159944f128e9b3fdeb5a5b9b102a961904601a87.tar.xz
ssh,acme: clean up tautological/impossible nil conditions
Change-Id: I4c6b4b6d8dc1e8a9d2ebfb8d350b7617d3cf7949 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/739780 Auto-Submit: Neal Patel <nealpatel@google.com> Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
Diffstat (limited to 'ssh/certs_test.go')
-rw-r--r--ssh/certs_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssh/certs_test.go b/ssh/certs_test.go
index ba435ab..51fbf88 100644
--- a/ssh/certs_test.go
+++ b/ssh/certs_test.go
@@ -330,10 +330,6 @@ func TestCertTypes(t *testing.T) {
go NewServerConn(c1, conf)
priv := m.signer
- if err != nil {
- t.Fatalf("error generating ssh pubkey: %v", err)
- }
-
cert := &Certificate{
CertType: UserCert,
Key: priv.PublicKey(),