test/encrypt_for_identity_test.cc
branchENGINE-423
changeset 2615 5cd3625e0d91
parent 2589 3c5db90b50e8
child 2623 009950d133c1
     1.1 --- a/test/encrypt_for_identity_test.cc	Thu Apr 19 09:38:52 2018 +0200
     1.2 +++ b/test/encrypt_for_identity_test.cc	Thu Apr 19 16:03:44 2018 +0200
     1.3 @@ -107,6 +107,7 @@
     1.4      PEP_rating rating;
     1.5      PEP_decrypt_flags_t flags;
     1.6  
     1.7 +    flags = 0;
     1.8      status = decrypt_message(session, encrypted_msg, &decrypted_msg, &keylist_used, &rating, &flags);
     1.9      assert(decrypted_msg);
    1.10      assert(keylist_used);
    1.11 @@ -152,6 +153,7 @@
    1.12      assert(encrypted_msg);
    1.13      cout << "message encrypted.\n";
    1.14      
    1.15 +    flags = 0;
    1.16      status = decrypt_message(session, encrypted_msg, &decrypted_msg, &keylist_used, &rating, &flags);
    1.17      assert(decrypted_msg);
    1.18      assert(keylist_used);
    1.19 @@ -246,6 +248,7 @@
    1.20      PEP_decrypt_flags_t mimeflags;
    1.21      PEP_rating mimerating;
    1.22  
    1.23 +    mimeflags = 0;
    1.24      status = MIME_decrypt_message(session,
    1.25                                    encrypted_mimetext,
    1.26                                    strlen(encrypted_mimetext),