Browse Source

IOSAD-180 Cast

IOSAD-180
Dirk Zimmermann 2 years ago
parent
commit
cef80e4b1b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pEpObjCAdapter/PEPSync.m

+ 2
- 1
pEpObjCAdapter/PEPSync.m View File

@ -97,7 +97,8 @@ static int s_inject_sync_event(SYNC_EVENT ev, void *management)
static PEP_STATUS s_ensure_passphrase(PEP_SESSION session, const char *fpr)
{
PEPInternalSession *internalSession = [[PEPInternalSession alloc] init];
PEP_STATUS status = [internalSession runWithPasswords:^PEP_STATUS(PEP_SESSION innerSessionNotToUse) {
PEP_STATUS status = (PEP_STATUS) [internalSession
runWithPasswords:^PEP_STATUS(PEP_SESSION innerSessionNotToUse) {
return probe_encrypt(session, fpr); // Note the use of the engine session
}];


Loading…
Cancel
Save