mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-10 11:58:36 -05:00
added more debug info in msg validation code
This commit is contained in:
parent
bb7d8297ee
commit
e883a32711
@ -831,6 +831,17 @@ int RsGenExchange::validateMsg(RsNxsMsg *msg, const uint32_t& grpFlag, const uin
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "(EE) public publish key not found in group that require publish key validation. This should not happen! msgId=" << metaData.mMsgId << ", grpId=" << metaData.mGroupId << std::endl;
|
||||
std::cerr << "(EE) public keys available for this group are: " << std::endl;
|
||||
|
||||
for(std::map<RsGxsId, RsTlvPublicRSAKey>::const_iterator it(grpKeySet.public_keys.begin());it!=grpKeySet.public_keys.end();++it)
|
||||
std::cerr << "(EE) " << it->first << std::endl;
|
||||
|
||||
std::cerr << "(EE) private keys available for this group are: " << std::endl;
|
||||
|
||||
for(std::map<RsGxsId, RsTlvPrivateRSAKey>::const_iterator it(grpKeySet.private_keys.begin());it!=grpKeySet.private_keys.end();++it)
|
||||
std::cerr << "(EE) " << it->first << std::endl;
|
||||
|
||||
publishValidate = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user