Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit 90324072b1 - Show all commits

View file

@ -162,7 +162,7 @@
{ {
return $rpcRequest->produceError(StandardError::NOT_FOUND, 'The requested encryption channel was not found'); return $rpcRequest->produceError(StandardError::NOT_FOUND, 'The requested encryption channel was not found');
} }
elseif($encryptionChannel->getReceivingPeerAddress() !== $receivingPeer->getAddress()) elseif($encryptionChannel->getReceivingPeerAddress() !== $receivingPeer->getPeerAddress())
{ {
return $rpcRequest->produceError(StandardError::UNAUTHORIZED, 'The requested encryption channel is not accessible'); return $rpcRequest->produceError(StandardError::UNAUTHORIZED, 'The requested encryption channel is not accessible');
} }