mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-31 11:08:16 -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
@ -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…
x
Reference in New Issue
Block a user