Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket...
This commit is contained in:
parent
2659427864
commit
b41437780b
6 changed files with 95 additions and 119 deletions
|
@ -206,12 +206,10 @@ public:
|
|||
/**
|
||||
* Add or update a membership certificate
|
||||
*
|
||||
* This cert must have been signature checked first. Certs older than the
|
||||
* cert on file are ignored and the newer cert remains in the database.
|
||||
*
|
||||
* @param cert Certificate of membership
|
||||
* @param forceAccept If true, accept without validating signature
|
||||
*/
|
||||
void addMembershipCertificate(const CertificateOfMembership &cert);
|
||||
void addMembershipCertificate(const CertificateOfMembership &cert,bool forceAccept);
|
||||
|
||||
/**
|
||||
* Push our membership certificate to a peer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue