449a0a68f5
* Fix race accessing b.crls within cert auth - Discovered by CircleCI the pathLogin, pathLoginRenew paths access and reloads the b.crls member variable without a lock. - Also discovered that pathLoginResolveRole never populated an empty b.crls before usage within b.verifyCredentials * Add cl * Misc cleanup - Introduce a login path wrapper instead of repeating in all the various login methods the crl reloading - Cleanup updatedConfig, never returned an error and nothing looked at the error returned - Make the test within TestCRLFetch a little less timing sensitive as I was able to trigger a failure due to my machine taking more than 150ms to load the new CRL |
||
---|---|---|
.. | ||
cmd/cert | ||
test-fixtures | ||
backend.go | ||
backend_test.go | ||
cli.go | ||
path_certs.go | ||
path_config.go | ||
path_crls.go | ||
path_crls_test.go | ||
path_login.go | ||
path_login_test.go | ||
test_responder.go |