ENGINE-214: uh, I know the difference between & and |, sure. Some tests now run - need to check that those that rely on replaced subjects are now changed ENGINE-214
authorKrista Bennett <krista@pep-project.org>
Thu, 05 Oct 2017 11:51:51 +0200
branchENGINE-214
changeset 2136a56043e01864
parent 2135 9efe970213f2
child 2137 96a82799439b
ENGINE-214: uh, I know the difference between & and |, sure. Some tests now run - need to check that those that rely on replaced subjects are now changed
src/message_api.c
     1.1 --- a/src/message_api.c	Thu Oct 05 11:41:16 2017 +0200
     1.2 +++ b/src/message_api.c	Thu Oct 05 11:51:51 2017 +0200
     1.3 @@ -1398,7 +1398,7 @@
     1.4          if (!(flags & PEP_encrypt_flag_no_wrap_message)) {
     1.5              PEP_STATUS status = encrypt_message(session, src, extra, &inner_message,
     1.6                                                  enc_format,
     1.7 -                                                flags & PEP_encrypt_flag_no_wrap_message);
     1.8 +                                                flags | PEP_encrypt_flag_no_wrap_message);
     1.9              _src = wrap_message_as_attachment(NULL, inner_message);
    1.10          } else {
    1.11              if (!(flags & PEP_encrypt_flag_force_no_attached_key))