1.1 --- a/src/sync_send_actions.c Wed Aug 31 08:59:35 2016 +0200
1.2 +++ b/src/sync_send_actions.c Wed Aug 31 09:09:44 2016 +0200
1.3 @@ -41,7 +41,7 @@
1.4 if (!msg)
1.5 goto enomem;
1.6
1.7 - bool encrypted = true;
1.8 + bool encrypted = false;
1.9 status = multicast_self_msg(session, state, msg, encrypted);
1.10 if (status != PEP_STATUS_OK)
1.11 goto error;
1.12 @@ -86,7 +86,7 @@
1.13 if (!msg)
1.14 goto enomem;
1.15
1.16 - bool encrypted = false;
1.17 + bool encrypted = true;
1.18 status = unicast_msg(session, partner, state, msg, encrypted);
1.19 if (status != PEP_STATUS_OK)
1.20 goto error;
1.21 @@ -138,7 +138,7 @@
1.22 if (IdentityList_from_identity_list(kl, &msg->payload.choice.groupKeys.ownIdentities) == NULL)
1.23 goto enomem;
1.24
1.25 - bool encrypted = false;
1.26 + bool encrypted = true;
1.27 status = unicast_msg(session, partner, state, msg, encrypted);
1.28 if (status != PEP_STATUS_OK)
1.29 goto error;
2.1 --- a/sync/gen_actions_skeleton.ysl2 Wed Aug 31 08:59:35 2016 +0200
2.2 +++ b/sync/gen_actions_skeleton.ysl2 Wed Aug 31 09:09:44 2016 +0200
2.3 @@ -183,9 +183,9 @@
2.4 ||
2.5 choose {
2.6 when "count(/protocol/unencrypted/*[name()=$action/@name]) = 0"
2.7 - |> bool encrypted = false;
2.8 + |> bool encrypted = true;
2.9 otherwise
2.10 - |> bool encrypted = true;
2.11 + |> bool encrypted = false;
2.12 }
2.13 choose {
2.14 when "count(/protocol/broadcast/*[name()=$action/@name]) = 0"