mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 02:50:07 -05:00
fixed bug in pgp handler causing trust info to not being saved correctly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ff0495c684
commit
89f48fc1b6
@ -1630,7 +1630,7 @@ bool PGPHandler::locked_writePrivateTrustDatabase()
|
|||||||
|
|
||||||
for(std::map<std::string,PGPCertificateInfo>::iterator it = _public_keyring_map.begin();it!=_public_keyring_map.end() ;++it)
|
for(std::map<std::string,PGPCertificateInfo>::iterator it = _public_keyring_map.begin();it!=_public_keyring_map.end() ;++it)
|
||||||
{
|
{
|
||||||
memcpy(&trustpacket.user_id,PGPIdType(it->first).toByteArray(),KEY_ID_SIZE) ;
|
memcpy(trustpacket.user_id,PGPIdType(it->first).toByteArray(),KEY_ID_SIZE) ;
|
||||||
trustpacket.trust_level = it->second._trustLvl ;
|
trustpacket.trust_level = it->second._trustLvl ;
|
||||||
trustpacket.time_stamp = it->second._time_stamp ;
|
trustpacket.time_stamp = it->second._time_stamp ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user