test/pEpEngineTest.cc
branchimport_own_key
changeset 728 80b966277620
parent 632 a213fafe3f4f
child 748 967b0bae4f01
     1.1 --- a/test/pEpEngineTest.cc	Thu Jun 09 19:19:46 2016 +0200
     1.2 +++ b/test/pEpEngineTest.cc	Wed Jun 08 01:32:10 2016 +0200
     1.3 @@ -88,7 +88,7 @@
     1.4          size_t k_user_length = 0;
     1.5          ReadFileIntoMem(*kf, k_user_buffer, k_user_length);
     1.6          cout << "import_key(" << *kf << ")\n";
     1.7 -        PEP_STATUS import_status = import_key(session, k_user_buffer, k_user_length);
     1.8 +        PEP_STATUS import_status = import_key(session, k_user_buffer, k_user_length, NULL);
     1.9          assert(import_status == PEP_STATUS_OK);
    1.10          cout << "successfully imported key\n";
    1.11          delete[] k_user_buffer;
    1.12 @@ -244,7 +244,7 @@
    1.13      assert(delete_status == PEP_STATUS_OK);
    1.14      
    1.15      cout << "import_key()\n";
    1.16 -    PEP_STATUS import_status = import_key(session, key_data, size);
    1.17 +    PEP_STATUS import_status = import_key(session, key_data, size, NULL);
    1.18      assert(import_status == PEP_STATUS_OK);
    1.19      cout << "successfully imported key\n";
    1.20