Browse Source

...

synchronous
Volker Birk 5 years ago
parent
commit
b11e11e1e4
  1. 2
      passphrase_cache.cc
  2. 2
      passphrase_cache.hh

2
passphrase_cache.cc

@ -82,7 +82,7 @@ namespace pEp {
return _which->passphrase.c_str();
}
PEP_STATUS PassphraseCache::messageToSend(PassphraseCache&& cache, PEP_SESSION session)
PEP_STATUS PassphraseCache::messageToSend(PassphraseCache& cache, PEP_SESSION session)
{
static pEp::PassphraseCache _copy;
static bool new_copy = true;

2
passphrase_cache.hh

@ -59,7 +59,7 @@ namespace pEp {
// this function is using latest_passphrase() to test one passphrase after the
// other until the cache is exhausted
static PEP_STATUS messageToSend(PassphraseCache&& cache, PEP_SESSION session);
static PEP_STATUS messageToSend(PassphraseCache& cache, PEP_SESSION session);
// for each passphrase call the callee until it returns true for a
// matching passphrase or no passphrases are left

Loading…
Cancel
Save