Committing check so I can show neal where something now doesn't work in sequoia sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Thu, 02 May 2019 08:28:05 +0200
branchsync
changeset 3598a37e451d4fce
parent 3597 572de760c0bf
child 3599 603f364d3649
Committing check so I can show neal where something now doesn't work in sequoia
test/src/engine_tests/ExportKeyTests.cc
     1.1 --- a/test/src/engine_tests/ExportKeyTests.cc	Thu May 02 08:18:26 2019 +0200
     1.2 +++ b/test/src/engine_tests/ExportKeyTests.cc	Thu May 02 08:28:05 2019 +0200
     1.3 @@ -47,7 +47,12 @@
     1.4  
     1.5      char* keydata = NULL;
     1.6      size_t keysize = 0;
     1.7 -    PEP_STATUS status = export_key(session, "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39", 
     1.8 +    stringlist_t* keylist = NULL;
     1.9 +    PEP_STATUS status = find_keys(session, "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39", &keylist);
    1.10 +    TEST_ASSERT(keylist && keylist->value);
    1.11 +    TEST_ASSERT(strcmp(keylist->value, "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39") == 0);
    1.12 +
    1.13 +    status = export_key(session, "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39", 
    1.14                                     &keydata, &keysize);
    1.15      TEST_ASSERT_MSG(status == PEP_STATUS_OK, tl_status_string(status));
    1.16      free(keydata);