set private key trust to full when the validity was unknown

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2204 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-02-05 21:18:28 +00:00
parent aab0879f5b
commit c381099e59

View File

@ -277,7 +277,7 @@ int AuthGPG::GPGInit(std::string ownId)
//check the validity of the private key. When set to unknown, it caused signature and text encryptions bugs
if (mOwnGpgCert.validLvl < 2) {
std::cerr << "AuthGPG::GPGInit() abnormal validity set to private key. Switch it to none by default." << std::endl;
privateTrustCertificate(mOwnGpgId, 2);
privateTrustCertificate(mOwnGpgId, 4);
}