src/sync_send_actions.c
branchkeysync
changeset 1097 6248fe9519df
parent 1091 0571ce4b97a2
child 1098 737031f6f0b3
     1.1 --- a/src/sync_send_actions.c	Mon Aug 29 21:35:04 2016 +0200
     1.2 +++ b/src/sync_send_actions.c	Wed Aug 31 08:59:35 2016 +0200
     1.3 @@ -41,7 +41,8 @@
     1.4      if (!msg)
     1.5          goto enomem;
     1.6  
     1.7 -    status = multicast_self_msg(session, state, msg);
     1.8 +    bool encrypted = true;
     1.9 +    status = multicast_self_msg(session, state, msg, encrypted);
    1.10      if (status != PEP_STATUS_OK)
    1.11          goto error;
    1.12  
    1.13 @@ -85,7 +86,8 @@
    1.14      if (!msg)
    1.15          goto enomem;
    1.16  
    1.17 -    status = unicast_msg(session, partner, state, msg);
    1.18 +    bool encrypted = false;
    1.19 +    status = unicast_msg(session, partner, state, msg, encrypted);
    1.20      if (status != PEP_STATUS_OK)
    1.21          goto error;
    1.22  
    1.23 @@ -136,7 +138,8 @@
    1.24      if (IdentityList_from_identity_list(kl, &msg->payload.choice.groupKeys.ownIdentities) == NULL)
    1.25          goto enomem;
    1.26  
    1.27 -    status = unicast_msg(session, partner, state, msg);
    1.28 +    bool encrypted = false;
    1.29 +    status = unicast_msg(session, partner, state, msg, encrypted);
    1.30      if (status != PEP_STATUS_OK)
    1.31          goto error;
    1.32