diff --git a/third-party/github.com/letsencrypt/boulder/va/tlsalpn.go b/third-party/github.com/letsencrypt/boulder/va/tlsalpn.go index 31e8ec51699..de524a94153 100644 --- a/third-party/github.com/letsencrypt/boulder/va/tlsalpn.go +++ b/third-party/github.com/letsencrypt/boulder/va/tlsalpn.go @@ -173,7 +173,7 @@ func (va *ValidationAuthorityImpl) getChallengeCert( return errors.New("no certificates provided") } // Parse the presented certificate. - cert, err := x509.ParseCertificate(certificates[0]) + _, err := x509.ParseCertificate(certificates[0]) if err != nil { return fmt.Errorf("failed to parse certificate: %w", err) }