More refactor

This commit is contained in:
Adam Ierymenko 2019-08-14 15:00:18 -07:00
parent e6b4006c70
commit 4da8036222
No known key found for this signature in database
GPG key ID: 1657198823E52A61
6 changed files with 40 additions and 79 deletions

View file

@ -177,10 +177,9 @@ public:
* Verify this capability's chain of custody and signatures
*
* @param RR Runtime environment to provide for peer lookup, etc.
* @return 0 == OK, 1 == waiting for WHOIS, -1 == BAD signature or chain
*/
int verify(const RuntimeEnvironment *RR,void *tPtr) const;
inline Credential::VerifyResult verify(const RuntimeEnvironment *RR,void *tPtr) const { return _verify(RR,tPtr,*this); }
template<unsigned int C>
static inline void serializeRules(Buffer<C> &b,const ZT_VirtualNetworkRule *rules,unsigned int ruleCount)
{