Browse Source

Ignore private keylist output of import_key recently added to pEpEngine, so that adapters builds again

COM-121
Edouard Tisserant 6 years ago
parent
commit
254eeceaa8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      CpEpEngine.cpp

+ 2
- 2
CpEpEngine.cpp View File

@ -625,7 +625,7 @@ STDMETHODIMP CpEpEngine::import_key(BSTR key_data)
string _key_data = utf8_string(key_data);
PEP_STATUS status = ::import_key(get_session(), _key_data.c_str(), _key_data.length());
PEP_STATUS status = ::import_key(get_session(), _key_data.c_str(), _key_data.length(), NULL);
assert(status != PEP_OUT_OF_MEMORY);
if (status == PEP_OUT_OF_MEMORY)
return E_OUTOFMEMORY;
@ -643,7 +643,7 @@ STDMETHODIMP CpEpEngine::import_key_b(SAFEARRAY * key_data)
if (key_data == NULL)
return E_INVALIDARG;
::PEP_STATUS status = ::import_key(get_session(), (const char *) key_data->pvData, key_data->rgsabound[0].cElements);
::PEP_STATUS status = ::import_key(get_session(), (const char *) key_data->pvData, key_data->rgsabound[0].cElements, NULL);
assert(status != ::PEP_OUT_OF_MEMORY);
if (status == ::PEP_OUT_OF_MEMORY)
return E_OUTOFMEMORY;


Loading…
Cancel
Save