Browse Source

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

JNI-76
Hussein Kasem 4 years ago
parent
commit
4aede5a274
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      src/gen_cpp_Engine.ysl2
  2. +2
    -1
      src/pEp.yml2

+ 2
- 0
src/gen_cpp_Engine.ysl2 View File

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


+ 2
- 1
src/pEp.yml2 View File

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


Loading…
Cancel
Save