type 1 (P-384) identities

This commit is contained in:
Adam Ierymenko
2019-08-20 13:32:23 -07:00
parent 6e771607c0
commit 83d723eb79
15 changed files with 467 additions and 591 deletions

View File

@ -74,7 +74,7 @@ Peer::Peer(const RuntimeEnvironment *renv,const Identity &myIdentity,const Ident
_lastAggregateStatsReport(0),
_lastAggregateAllocation(0)
{
if (!myIdentity.agree(peerIdentity,_key,ZT_PEER_SECRET_KEY_LENGTH))
if (!myIdentity.agree(peerIdentity,_key))
throw ZT_EXCEPTION_INVALID_ARGUMENT;
}