Browse Source

P4A-773 When PEP_KEY_IMPORTED do not throw error.

JNI-88
Hussein Kasem 6 years ago
parent
commit
64eb8b51b9
  1. 2
      src/basic_api.cc

2
src/basic_api.cc

@ -210,7 +210,7 @@ JNIEXPORT void JNICALL Java_org_pEp_jniadapter_Engine_importKey(
PEP_STATUS status = ::import_key(session, _key, strlen(_key), NULL);
if (status != PEP_STATUS_OK) {
if (status != PEP_STATUS_OK && status != PEP_KEY_IMPORTED) {
throw_pEp_Exception(env, status);
return;
}

Loading…
Cancel
Save