mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Warning removal.
This commit is contained in:
parent
6051c973d3
commit
c881094202
1 changed files with 1 additions and 4 deletions
|
@ -425,10 +425,7 @@ bool Identity::fromString(const char *str)
|
|||
return false;
|
||||
|
||||
m_computeHash();
|
||||
if ((m_type == P384) && (m_fp.address() != Address(m_fp.hash())))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
return !((m_type == P384) && (m_fp.address() != Address(m_fp.hash())));
|
||||
}
|
||||
|
||||
int Identity::marshal(uint8_t data[ZT_IDENTITY_MARSHAL_SIZE_MAX], const bool includePrivate) const noexcept
|
||||
|
|
Loading…
Add table
Reference in a new issue