Browse Source

Add PEP_decrypt_flag_untrusted_server flag to pEp.yml2 and make keylist inout on decrypt.

JNI-76
Hussein Kasem 7 years ago
parent
commit
4aede5a274
  1. 2
      src/gen_cpp_Engine.ysl2
  2. 3
      src/pEp.yml2

2
src/gen_cpp_Engine.ysl2

@ -264,6 +264,8 @@ tstylesheet {
> &_«$name» > &_«$name»
when "$dir = 'inout' and $type='int'" when "$dir = 'inout' and $type='int'"
> (unsigned int *) &_«$name» > (unsigned int *) &_«$name»
when "$dir = 'inout' and $type='stringlist'"
> &_«$name»
otherwise otherwise
> _«$name» > _«$name»
} }

3
src/pEp.yml2

@ -126,6 +126,7 @@ namespace pEp {
PEP_decrypt_flag_consumed > 2 PEP_decrypt_flag_consumed > 2
PEP_decrypt_flag_ignored > 4 PEP_decrypt_flag_ignored > 4
PEP_decrypt_flag_src_modified > 8 PEP_decrypt_flag_src_modified > 8
PEP_decrypt_flag_untrusted_server > 0x100
}; };
enum IdentityFlags { enum IdentityFlags {
@ -181,7 +182,7 @@ namespace pEp {
method decrypt_message( method decrypt_message(
inout message src, inout message src,
creates message dst, creates message dst,
creates stringlist keylist, inout stringlist keylist,
returns Rating rating, returns Rating rating,
inout int flags inout int flags
); );

Loading…
Cancel
Save