test/message_api_test.cc
changeset 746 753b1ec63285
parent 745 32d7952cccfa
parent 728 80b966277620
child 747 d357dceebec6
     1.1 --- a/test/message_api_test.cc	Sun Jun 19 15:25:25 2016 +0200
     1.2 +++ b/test/message_api_test.cc	Mon Jun 20 13:10:01 2016 +0200
     1.3 @@ -74,7 +74,9 @@
     1.4      message *msg4;
     1.5      stringlist_t *keylist4;
     1.6      PEP_color color;
     1.7 -    PEP_STATUS status4 = decrypt_message(session, enc_msg2, &msg4, &keylist4, &color);
     1.8 +    PEP_decrypt_flags_t flags;
     1.9 +    
    1.10 +    PEP_STATUS status4 = decrypt_message(session, enc_msg2, &msg4, &keylist4, &color, &flags);
    1.11      assert(status4 == PEP_STATUS_OK);
    1.12      assert(msg4);
    1.13      assert(keylist4);
    1.14 @@ -109,7 +111,8 @@
    1.15      message *msg6;
    1.16      stringlist_t *keylist5;
    1.17      PEP_color color2;
    1.18 -    PEP_STATUS status6 = decrypt_message(session, msg5, &msg6, &keylist5, &color2);
    1.19 +    PEP_decrypt_flags_t flags2;
    1.20 +    PEP_STATUS status6 = decrypt_message(session, msg5, &msg6, &keylist5, &color2, &flags2);
    1.21      assert(status6 == PEP_DECRYPT_NO_KEY);
    1.22      assert(msg6 == NULL);
    1.23      assert(keylist5 == NULL);