mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
41cb5b7d34
commit
bb49359fdb
@ -220,7 +220,14 @@ bool PGPHandler::validateAndUpdateSignatures(PGPCertificateInfo& cert,const ops_
|
|||||||
ops_boolean_t res = ops_validate_key_signatures(result,keydata,_pubring,cb_get_passphrase) ;
|
ops_boolean_t res = ops_validate_key_signatures(result,keydata,_pubring,cb_get_passphrase) ;
|
||||||
|
|
||||||
if(res == ops_false)
|
if(res == ops_false)
|
||||||
|
{
|
||||||
|
static ops_boolean_t already = 0 ;
|
||||||
|
if(!already)
|
||||||
|
{
|
||||||
std::cerr << "(WW) Error in PGPHandler::validateAndUpdateSignatures(). Validation failed for at least some signatures." << std::endl;
|
std::cerr << "(WW) Error in PGPHandler::validateAndUpdateSignatures(). Validation failed for at least some signatures." << std::endl;
|
||||||
|
already = 1 ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool ret = false ;
|
bool ret = false ;
|
||||||
|
|
||||||
|
@ -196,7 +196,13 @@ class PQInterface: public RateInterface
|
|||||||
virtual int SendItem(RsItem *item,uint32_t& size)
|
virtual int SendItem(RsItem *item,uint32_t& size)
|
||||||
{
|
{
|
||||||
size = 0 ;
|
size = 0 ;
|
||||||
|
|
||||||
|
static bool already=false ;
|
||||||
|
if(!already)
|
||||||
|
{
|
||||||
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
|
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
|
||||||
|
already=true ;
|
||||||
|
}
|
||||||
return SendItem(item) ;
|
return SendItem(item) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user