test/message_api_test.cc
changeset 113 4bee48270834
parent 112 d001ca329a48
child 116 e4d286e7b300
     1.1 --- a/test/message_api_test.cc	Sat Mar 14 11:28:14 2015 +0100
     1.2 +++ b/test/message_api_test.cc	Sun Mar 15 10:14:43 2015 +0100
     1.3 @@ -26,7 +26,7 @@
     1.4      cout << "message created.\n";
     1.5  
     1.6      char *text2;
     1.7 -    PEP_STATUS status2 = mime_encode_message(msg2, &text2);
     1.8 +    PEP_STATUS status2 = mime_encode_message(msg2, false, &text2);
     1.9      assert(status2 == PEP_STATUS_OK);
    1.10      assert(text2);
    1.11  
    1.12 @@ -38,12 +38,12 @@
    1.13      cout << "encrypting message as MIME multipart…\n";
    1.14      message *enc_msg2;
    1.15      cout << "calling encrypt_message()\n";
    1.16 -    status2 = encrypt_message(session, msg2, NULL, &enc_msg2, PEP_enc_MIME_multipart);
    1.17 +    status2 = encrypt_message(session, msg2, NULL, &enc_msg2, PEP_enc_PGP_MIME);
    1.18      assert(status2 == PEP_STATUS_OK);
    1.19      assert(enc_msg2);
    1.20      cout << "message encrypted.\n";
    1.21      
    1.22 -    status2 = mime_encode_message(enc_msg2, &text2);
    1.23 +    status2 = mime_encode_message(enc_msg2, false, &text2);
    1.24      assert(status2 == PEP_STATUS_OK);
    1.25      assert(text2);
    1.26