mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
Added Cache system for GPG Certificates.
- This should reduce gpg calls by 90+%. Updated rsversion svn to 4942 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4942 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bdc8a11203
commit
e024ea36e9
4 changed files with 113 additions and 38 deletions
|
@ -897,7 +897,7 @@ AuthGPGOperation *p3disc::getGPGOperation()
|
|||
if (mPendingDiscReplyInList.empty() == false) {
|
||||
RsDiscReply *item = mPendingDiscReplyInList.front();
|
||||
|
||||
return new AuthGPGOperationLoadOrSave(true, item->certGPG, item);
|
||||
return new AuthGPGOperationLoadOrSave(true, item->aboutId, item->certGPG, item);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -931,7 +931,7 @@ AuthGPGOperation *p3disc::getGPGOperation()
|
|||
if (!destId.empty() && !srcId.empty()) {
|
||||
RsDiscReply *item = createDiscReply(destId, srcId);
|
||||
if (item) {
|
||||
return new AuthGPGOperationLoadOrSave(false, item->aboutId, item);
|
||||
return new AuthGPGOperationLoadOrSave(false, item->aboutId, "", item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue