mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
disable some spam debug
This commit is contained in:
parent
247a9d57a3
commit
70f9aa5d63
@ -1119,8 +1119,10 @@ bool GxsSecurity::validateNxsGrp(const RsNxsGrp& grp, const RsTlvKeySignature& s
|
|||||||
signOk = EVP_VerifyFinal(mdctx, sigbuf, siglen, signKey);
|
signOk = EVP_VerifyFinal(mdctx, sigbuf, siglen, signKey);
|
||||||
EVP_MD_CTX_destroy(mdctx);
|
EVP_MD_CTX_destroy(mdctx);
|
||||||
|
|
||||||
|
#ifdef GXS_SECURITY_DEBUG
|
||||||
if(i>0)
|
if(i>0)
|
||||||
std::cerr << "(WW) Checking group signature with old api version " << i+1 << " : tag " << std::hex << api_versions_to_check[i] << std::dec << " result: " << signOk << std::endl;
|
std::cerr << "(WW) Checking group signature with old api version " << i+1 << " : tag " << std::hex << api_versions_to_check[i] << std::dec << " result: " << signOk << std::endl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
|
@ -860,10 +860,10 @@ int pqissl::Basic_Connection_Complete()
|
|||||||
{
|
{
|
||||||
// error - reset socket.
|
// error - reset socket.
|
||||||
// this is a definite bad socket!.
|
// this is a definite bad socket!.
|
||||||
|
#ifdef PQISSL_LOG_DEBUG2
|
||||||
rslog(RSL_WARNING, pqisslzone,
|
rslog(RSL_WARNING, pqisslzone,
|
||||||
"pqissl::Basic_Connection_Complete() Select ERROR(2)");
|
"pqissl::Basic_Connection_Complete() Select ERROR(2)");
|
||||||
|
#endif
|
||||||
net_internal_close(sockfd);
|
net_internal_close(sockfd);
|
||||||
sockfd=-1;
|
sockfd=-1;
|
||||||
//reset();
|
//reset();
|
||||||
@ -1595,7 +1595,9 @@ int pqissl::readdata(void *data, int len)
|
|||||||
reset_locked();
|
reset_locked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef PQISSL_LOG_DEBUG2
|
||||||
rslog(RSL_ALERT, pqisslzone, out);
|
rslog(RSL_ALERT, pqisslzone, out);
|
||||||
|
#endif
|
||||||
//std::cerr << out << std::endl ;
|
//std::cerr << out << std::endl ;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user