CKM: Saving unexportable data is now allowed
[platform/core/test/security-tests.git] / src / ckm / unprivileged / main.cpp
index 5d939ee..883a4fe 100644 (file)
@@ -434,7 +434,7 @@ RUNNER_TEST(T1023_app_user_save_keys_exportable_flag)
         CKM_API_ERROR_NOT_EXPORTABLE == (temp = manager->getKey("appkey4", CKM::Password(), key)),
         "Error=" << CKM::APICodeToString(temp));
     RUNNER_ASSERT_MSG(
-        CKM_API_ERROR_INPUT_PARAM == (temp = manager->saveData("data3", buffer, notExportable)),
+        CKM_API_SUCCESS == (temp = manager->saveData("data3", buffer, notExportable)),
         "Error=" << CKM::APICodeToString(temp));
 }