Skip to content

Commit

Permalink
address code review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mudhireddy committed May 8, 2024
1 parent 188bbcc commit 6653a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/advancedtls/advancedtls.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ func buildVerifyFunc(c *advancedTLSCreds,
return err
}
leafCert = rawCertList[0]
*peerVerifiedChains = chains
}
// Perform certificate revocation check if specified.
if c.revocationOptions != nil {
Expand All @@ -640,6 +639,7 @@ func buildVerifyFunc(c *advancedTLSCreds,
})
return err
}
*peerVerifiedChains = chains
return nil
}
}
Expand Down

0 comments on commit 6653a37

Please sign in to comment.