test/apple_mail_test.cc
branchENGINE-423
changeset 2615 5cd3625e0d91
parent 2535 76edc488ccdd
     1.1 --- a/test/apple_mail_test.cc	Thu Apr 19 09:38:52 2018 +0200
     1.2 +++ b/test/apple_mail_test.cc	Thu Apr 19 16:03:44 2018 +0200
     1.3 @@ -50,7 +50,7 @@
     1.4      message* final_ptr = nullptr;
     1.5      stringlist_t* keylist = nullptr;
     1.6      PEP_rating rating;
     1.7 -    PEP_decrypt_flags_t flags;
     1.8 +    PEP_decrypt_flags_t flags = 0;
     1.9      
    1.10      status = mime_decode_message(mailtext.c_str(), mailtext.length(), &msg_ptr);
    1.11      assert(status == PEP_STATUS_OK);
    1.12 @@ -80,6 +80,7 @@
    1.13      final_ptr = nullptr;
    1.14      keylist = nullptr;
    1.15      rating = PEP_rating_unreliable;
    1.16 +    flags = 0;
    1.17      
    1.18      const char* mailfile2 = "test_mails/apple_mail_TC_html_signed_encrypted.eml";
    1.19      const string mailtext2 = slurp(mailfile2);