test/pEp_subject_received_test.cc
branchENGINE-423
changeset 2615 5cd3625e0d91
parent 2288 8aee10631677
     1.1 --- a/test/pEp_subject_received_test.cc	Thu Apr 19 09:38:52 2018 +0200
     1.2 +++ b/test/pEp_subject_received_test.cc	Thu Apr 19 16:03:44 2018 +0200
     1.3 @@ -61,6 +61,7 @@
     1.4      assert(status == PEP_STATUS_OK);
     1.5      assert(msg_ptr);
     1.6      final_ptr = msg_ptr;
     1.7 +    flags = 0;
     1.8      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
     1.9      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.10    
    1.11 @@ -93,6 +94,7 @@
    1.12      assert(status == PEP_STATUS_OK);
    1.13      assert(msg_ptr);
    1.14      final_ptr = msg_ptr;
    1.15 +    flags = 0;
    1.16      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.17      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.18    
    1.19 @@ -125,6 +127,7 @@
    1.20      assert(status == PEP_STATUS_OK);
    1.21      assert(msg_ptr);
    1.22      final_ptr = msg_ptr;
    1.23 +    flags = 0;
    1.24      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.25      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.26    
    1.27 @@ -157,6 +160,7 @@
    1.28      assert(status == PEP_STATUS_OK);
    1.29      assert(msg_ptr);
    1.30      final_ptr = msg_ptr;
    1.31 +    flags = 0;
    1.32      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.33      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.34    
    1.35 @@ -190,6 +194,7 @@
    1.36      assert(status == PEP_STATUS_OK);
    1.37      assert(msg_ptr);
    1.38      final_ptr = msg_ptr;
    1.39 +    flags = 0;
    1.40      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.41      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.42    
    1.43 @@ -222,6 +227,7 @@
    1.44      assert(status == PEP_STATUS_OK);
    1.45      assert(msg_ptr);
    1.46      final_ptr = msg_ptr;
    1.47 +    flags = 0;
    1.48      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.49      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.50    
    1.51 @@ -255,6 +261,7 @@
    1.52      assert(status == PEP_STATUS_OK);
    1.53      assert(msg_ptr);
    1.54      final_ptr = msg_ptr;
    1.55 +    flags = 0;
    1.56      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.57      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.58    
    1.59 @@ -287,6 +294,7 @@
    1.60      assert(status == PEP_STATUS_OK);
    1.61      assert(msg_ptr);
    1.62      final_ptr = msg_ptr;
    1.63 +    flags = 0;
    1.64      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.65      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.66    
    1.67 @@ -319,6 +327,7 @@
    1.68      assert(status == PEP_STATUS_OK);
    1.69      assert(msg_ptr);
    1.70      final_ptr = msg_ptr;
    1.71 +    flags = 0;
    1.72      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.73      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.74    
    1.75 @@ -351,6 +360,7 @@
    1.76      assert(status == PEP_STATUS_OK);
    1.77      assert(msg_ptr);
    1.78      final_ptr = msg_ptr;
    1.79 +    flags = 0;
    1.80      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.81      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.82    
    1.83 @@ -384,6 +394,7 @@
    1.84      assert(status == PEP_STATUS_OK);
    1.85      assert(msg_ptr);
    1.86      final_ptr = msg_ptr;
    1.87 +    flags = 0;
    1.88      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.89      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.90    
    1.91 @@ -417,6 +428,7 @@
    1.92      assert(status == PEP_STATUS_OK);
    1.93      assert(msg_ptr);
    1.94      final_ptr = msg_ptr;
    1.95 +    flags = 0;
    1.96      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
    1.97      final_ptr = dest_msg ? dest_msg : msg_ptr;
    1.98    
    1.99 @@ -449,6 +461,7 @@
   1.100      assert(status == PEP_STATUS_OK);
   1.101      assert(msg_ptr);
   1.102      final_ptr = msg_ptr;
   1.103 +    flags = 0;
   1.104      status = decrypt_message(session, msg_ptr, &dest_msg, &keylist, &rating, &flags);
   1.105      final_ptr = dest_msg ? dest_msg : msg_ptr;
   1.106