not a good idea after group keys are there sync
authorVolker Birk <vb@pep-project.org>
Wed, 29 May 2019 11:37:30 +0200
branchsync
changeset 376486b50fe25671
parent 3760 0fb3c0079c5a
child 3765 6e0ded701a54
not a good idea after group keys are there
sync/gen_statemachine.ysl2
     1.1 --- a/sync/gen_statemachine.ysl2	Tue May 28 23:03:29 2019 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Wed May 29 11:37:30 2019 +0200
     1.3 @@ -335,13 +335,6 @@
     1.4                  if (!(session && data && size))
     1.5                      return PEP_ILLEGAL_VALUE;
     1.6  
     1.7 -                // FIXME: this will go wrong if MAC is used instead of Signature
     1.8 -                if (from && from->fpr && signature_fpr) {
     1.9 -                    // ignore own messages
    1.10 -                    if (strcmp(from->fpr, signature_fpr) == 0)
    1.11 -                        return PEP_STATUS_OK;
    1.12 -                }
    1.13 -
    1.14                  if (!session->inject_«yml:lcase(@name)»_event)
    1.15                     return PEP_«yml:ucase(@name)»_NO_INJECT_CALLBACK;
    1.16