Skip to content

Commit

Permalink
Populate during renew calls also (#17143)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmiller committed Sep 15, 2022
1 parent 0ea6ada commit 3558a1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions builtin/credential/cert/path_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ func (b *backend) pathLoginRenew(ctx context.Context, req *logical.Request, d *f
return nil, err
}

if b.crls == nil {
if err := b.populateCRLs(ctx, req.Storage); err != nil {
return nil, err
}
}

if !config.DisableBinding {
var matched *ParsedCert
if verifyResp, resp, err := b.verifyCredentials(ctx, req, d); err != nil {
Expand Down

0 comments on commit 3558a1a

Please sign in to comment.