boulder/rocsp
Aaron Gable d1777c5fda
Fix shadowing assignments inside closures (#5944)
When inside a closure, it is important to not accidentally assign
to variables declared outside the scope of the closure. Doing so
causes static analysis tools (such as `errcheck`) to be unable to
evaluate the lifetime of the variable, and unable to determine if
it is appropriately read from before being assigned to again.

Fix two instances where we assign to a variable declared in the
closure's enclosing scope, rather than declaring a new variable
with the same name.
2022-02-16 14:33:17 -08:00
..
config Fixup staticcheck and stylecheck, and violations thereof (#5897) 2022-01-20 16:22:30 -08:00
testdata Add rocsp-tool to manually store OCSP responses in Redis (#5758) 2021-11-02 11:04:03 -07:00
metrics.go Export Prometheus stats for Redis ClusterClient (#5828) 2021-12-06 18:27:18 -08:00
rocsp.go Fix shadowing assignments inside closures (#5944) 2022-02-16 14:33:17 -08:00
rocsp_test.go Export Prometheus stats for Redis ClusterClient (#5828) 2021-12-06 18:27:18 -08:00