test/message_api_test.cc
changeset 166 fefff48448e3
parent 165 f0894860af4a
child 221 498615df9416
     1.1 --- a/test/message_api_test.cc	Mon Mar 30 14:59:34 2015 +0200
     1.2 +++ b/test/message_api_test.cc	Mon Mar 30 17:28:04 2015 +0200
     1.3 @@ -63,7 +63,13 @@
     1.4      outFile3.write(string3.c_str(), string3.size());
     1.5      outFile3.close();
     1.6  
     1.7 +    message *msg4;
     1.8 +    PEP_STATUS status4 = decrypt_message(session, enc_msg2, PEP_MIME_none, &msg4);
     1.9 +    assert(status4 == PEP_STATUS_OK);
    1.10 +    assert(msg4);
    1.11 +
    1.12      cout << "freeing messages…\n";
    1.13 +    free_message(msg4);
    1.14      free_message(msg3);
    1.15      free_message(msg2);
    1.16      free_message(enc_msg2);