mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
revert back to saving public key always.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
81307de7c9
commit
a77fa5a8d1
1 changed files with 7 additions and 6 deletions
|
@ -707,12 +707,13 @@ bool p3IdService::cache_store(const RsGxsIdGroupItem *item)
|
|||
full_key_ok = true;
|
||||
}
|
||||
|
||||
if (kit->second.keyFlags & RSTLV_KEY_TYPE_PUBLIC_ONLY)
|
||||
{
|
||||
/* cache public key always */
|
||||
pubkey = kit->second;
|
||||
pub_key_ok = true;
|
||||
}
|
||||
/* cache public key always
|
||||
* we don't need to check the keyFlags,
|
||||
* as both FULL and PUBLIC_ONLY keys contain the PUBLIC key
|
||||
*/
|
||||
pubkey = kit->second;
|
||||
pub_key_ok = true;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue