ENGINE-420: test output ENGINE-420
authorKrista Bennett <krista@pep-project.org>
Fri, 13 Apr 2018 12:34:08 +0200
branchENGINE-420
changeset 2596535f40a7121b
parent 2595 ca6702d7dcd7
child 2597 d8a4f5d437ae
ENGINE-420: test output
test/encrypt_attach_private_key_test.cc
     1.1 --- a/test/encrypt_attach_private_key_test.cc	Fri Apr 13 12:04:38 2018 +0200
     1.2 +++ b/test/encrypt_attach_private_key_test.cc	Fri Apr 13 12:34:08 2018 +0200
     1.3 @@ -277,7 +277,13 @@
     1.4      cout << "Case 8 Status: " << tl_status_string(status) << endl;
     1.5      assert(status == PEP_ILLEGAL_VALUE);
     1.6      cout << "PASS!" << endl;
     1.7 -                                          
     1.8 +    
     1.9 +    cout << "Correctly encrypted message:" << endl << endl;                
    1.10 +    char* encrypted_msg_text = NULL;
    1.11 +    mime_encode_message(enc_same_addr_same_uid_trusted, false, &encrypted_msg_text);                                    
    1.12 +    cout << encrypted_msg_text << endl << endl;
    1.13 +    
    1.14 +      
    1.15      release(session);
    1.16      
    1.17      return 0;