mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
removed some debug info
This commit is contained in:
parent
d642934cb5
commit
fa8a585e20
@ -496,10 +496,12 @@ void bdNode::checkPotentialPeer(bdId *id, bdId *src)
|
||||
/* first check the filters */
|
||||
if (!mFilterPeers.addrOkay(&(id->addr)))
|
||||
{
|
||||
#ifdef DEBUG_NODE_MSGS
|
||||
std::cerr << "bdNode::checkPotentialPeer(";
|
||||
mFns->bdPrintId(std::cerr, id);
|
||||
std::cerr << ") BAD ADDRESS!!!! SHOULD DISCARD POTENTIAL PEER";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -3669,8 +3669,6 @@ bool RsGxsNetService::encryptSingleNxsItem(RsNxsItem *item, const RsGxsCircleId&
|
||||
#ifdef NXS_NET_DEBUG_7
|
||||
GXSNETDEBUG_P_ (item->PeerId()) << "Service " << std::hex << ((mServiceInfo.mServiceType >> 8)& 0xffff) << std::dec << " - Encrypting single item for peer " << item->PeerId() << ", for circle ID " << destination_circle << std::endl;
|
||||
#endif
|
||||
std::cerr << "RsGxsNetService::encryptSingleNxsItem()" << std::endl;
|
||||
|
||||
// 1 - Find out the list of GXS ids to encrypt for
|
||||
// We could do smarter things (like see if the peer_id owns one of the circle's identities
|
||||
// but for now we aim at the simplest solution: encrypt for all identities in the circle.
|
||||
|
@ -173,7 +173,9 @@ bool PGPKeyManagement::parseSignature(const unsigned char *signature, size_t sig
|
||||
|
||||
PGPKeyParser::read_packetHeader(data,packet_tag,packet_length) ;
|
||||
|
||||
#ifdef DEBUG_PGPUTIL
|
||||
std::cerr << "Packet tag : " << (int)packet_tag << ", length=" << packet_length << std::endl;
|
||||
#endif
|
||||
|
||||
// 2 - parse key data, only keep public key data, user id and self-signature.
|
||||
|
||||
|
@ -3009,7 +3009,9 @@ bool p3IdService::checkId(const RsGxsIdGroup &grp, RsPgpId &pgpId,bool& error)
|
||||
|
||||
if(mPgpUtils->parseSignature((unsigned char *) grp.mPgpIdSign.c_str(), grp.mPgpIdSign.length(),issuer_id))
|
||||
{
|
||||
#ifdef DEBUG_IDS
|
||||
std::cerr << "Issuer found: " << issuer_id << std::endl;
|
||||
#endif
|
||||
pgpId = issuer_id ;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user