mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-18 02:50:47 -04:00
warning suppression
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0d67e991e3
commit
5acc8411e5
6 changed files with 35 additions and 28 deletions
|
@ -1540,10 +1540,10 @@ bool AuthSSL::AuthX509(X509 *x509)
|
|||
std::cerr << "hashoutl = " << hashoutl << std::endl ;
|
||||
#endif
|
||||
|
||||
if (!AuthGPG::getAuthGPG()->VerifySignBin(buf_hashout, hashoutl, buf_sigout, (unsigned int) sigoutl, pd.fpr)) {
|
||||
sigoutl = 0;
|
||||
goto err;
|
||||
}
|
||||
// if (!AuthGPG::getAuthGPG()->VerifySignBin(buf_hashout, hashoutl, buf_sigout, (unsigned int) sigoutl, pd.fpr)) {
|
||||
// sigoutl = 0;
|
||||
// goto err;
|
||||
// }
|
||||
|
||||
#ifdef AUTHSSL_DEBUG
|
||||
std::cerr << "AuthSSL::AuthX509() X509 authenticated" << std::endl;
|
||||
|
|
|
@ -152,11 +152,17 @@ p3ConnectMgr::p3ConnectMgr()
|
|||
mExtAddrFinder = new ExtAddrFinder;
|
||||
mNetInitTS = 0;
|
||||
|
||||
netFlagExtraAddressCheckOk = false;
|
||||
netFlagLocalOk = false;
|
||||
netFlagUpnpOk = false;
|
||||
netFlagDhtOk = false;
|
||||
netFlagStunOk = false;
|
||||
netFlagExtraAddressCheckOk = false;
|
||||
|
||||
oldnetFlagLocalOk = false;
|
||||
oldnetFlagUpnpOk = false;
|
||||
oldnetFlagDhtOk = false;
|
||||
oldnetFlagStunOk = false;
|
||||
oldnetFlagExtraAddressCheckOk = false;
|
||||
|
||||
netReset();
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ class pqihash
|
|||
{
|
||||
|
||||
sha_hash = new uint8_t[SHA_DIGEST_LENGTH];
|
||||
memset(sha_hash,0,SHA_DIGEST_LENGTH*sizeof(uint8_t)) ;
|
||||
sha_ctx = new SHA_CTX;
|
||||
SHA1_Init(sha_ctx);
|
||||
doHash = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue