Made message signing in Cryptography use SHA512 as the message content for... #1
2 changed files with 1 additions and 2 deletions
|
@ -65,7 +65,6 @@
|
|||
}
|
||||
|
||||
$contact = ContactManager::getContact($peer, $address);
|
||||
|
||||
if(ContactManager::contactGetSigningKeysCount($contact) > Configuration::getPoliciesConfiguration()->getMaxContactSigningKeys())
|
||||
{
|
||||
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'The contact has exceeded the maximum amount of trusted signatures');
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
}
|
||||
catch(InvalidArgumentException $e)
|
||||
{
|
||||
throw new InvalidRpcArgumentException('peer');
|
||||
throw new InvalidRpcArgumentException('peer', $e);
|
||||
}
|
||||
|
||||
if(!$rpcRequest->containsParameter('relationship'))
|
||||
|
|
Loading…
Add table
Reference in a new issue