Browse Source

ENGINE-504, maybe

ENGINE-641
parent
commit
807a598983
3 changed files with 9 additions and 2 deletions
  1. +1
    -1
      src/message_api.c
  2. +7
    -1
      src/pEp_internal.h
  3. +1
    -0
      sync/gen_statemachine.ysl2

+ 1
- 1
src/message_api.c View File

@ -185,7 +185,7 @@ void replace_opt_field(message *msg,
}
}
static void decorate_message(
void decorate_message(
message *msg,
PEP_rating rating,
stringlist_t *keylist,


+ 7
- 1
src/pEp_internal.h View File

@ -288,6 +288,13 @@ PEP_STATUS encrypt_only(
size_t psize, char **ctext, size_t *csize
);
void decorate_message(
message *msg,
PEP_rating rating,
stringlist_t *keylist,
bool add_version,
bool clobber);
#if defined(NDEBUG) || defined(NOLOG)
#define DEBUG_LOG(TITLE, ENTITY, DESC)
#else
@ -556,4 +563,3 @@ static inline int Sqlite3_step(sqlite3_stmt* stmt)
} while (rc == SQLITE_BUSY || rc == SQLITE_LOCKED);
return rc;
}

+ 1
- 0
sync/gen_statemachine.ysl2 View File

@ -515,6 +515,7 @@ tstylesheet {
goto the_end;
}
attach_own_key(session, _m);
decorate_message(_m, PEP_rating_undefined, NULL, true, true);
m = _m;
break;


Loading…
Cancel
Save