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 9cb852d commit cf22674
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 @@ -161,6 +161,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 cf22674

Please sign in to comment.