fixed update of flag for peer signature over own key

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-09 13:09:36 +00:00
parent 90b5e76f25
commit 046a3548fe
3 changed files with 75 additions and 32 deletions

View file

@ -584,7 +584,13 @@ bool AuthGPG::LoadCertificateFromString(const std::string &str, PGPIdType& gpg_i
{
RsStackMutex stack(gpgMtxEngine); /******* LOCKED ******/
return PGPHandler::LoadCertificateFromString(str,gpg_id,error_string) ;
if(PGPHandler::LoadCertificateFromString(str,gpg_id,error_string))
{
updateOwnSignatureFlag(gpg_id,mOwnGpgId) ;
return true ;
}
return false ;
}
/*****************************************************************