Browse Source

use new passphrase_cache

COM-121
Volker Birk 2 years ago
parent
commit
b5e9a883aa
3 changed files with 1 additions and 5 deletions
  1. +0
    -3
      CpEpEngine.cpp
  2. +1
    -1
      CpEpEngine.h
  3. +0
    -1
      pEpCOMServerAdapter.cpp

+ 0
- 3
CpEpEngine.cpp View File

@ -1007,9 +1007,6 @@ PEP_STATUS CpEpEngine::messageToSend(message *msg)
{
bool in_sync = on_sync_thread();
if (in_sync && !msg)
return pEp::PassphraseCache::messageToSend(passphrase_cache, session());
for (auto p = sync_callbacks.begin(); p != sync_callbacks.end(); ++p) {
IpEpEngineCallbacks *cb = in_sync ? _unmarshaled_consumer(p) : p->pdata->unmarshaled;


+ 1
- 1
CpEpEngine.h View File

@ -14,7 +14,7 @@ using namespace utility;
using namespace pEp::utility;
using namespace pEp::Adapter;
extern pEp::PassphraseCache passphrase_cache;
pEp::PassphraseCache& passphrase_cache = pEp::passphrase_cache;
// CpEpEngine


+ 0
- 1
pEpCOMServerAdapter.cpp View File

@ -29,7 +29,6 @@ void CpEpCOMServerAdapterModule::gatekeeper(CpEpCOMServerAdapterModule * self)
CpEpCOMServerAdapterModule _AtlModule;
LocalJSONAdapter* ljs = nullptr;
pEp::PassphraseCache passphrase_cache;
CMainWindow mainWindow;
extern "C" int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/,


Loading…
Cancel
Save