Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gossip: Learn certificate at validation time
When an AliveMessage enters the routine that handles all messages, It is first validated and only then the certificate may be learned from the alive message, but then it is validated again when it is learned because the identity store validates the cert when it attempts to store it. This is redundant, we may simply learn the cert at validation time as part of storing the cert (gossip/identity/identityMapper:Put also validates a cert, and even checks if the calculated PKI-ID matches the claimed PKI-ID) Change-Id: I90900818aef3b51c413384df989f4e63073401f6 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information