- Reverted previous version: Tickets can possibly be secret as well

(although this is dubious, as the claiming role will not know the
  contents in many cases)
This commit is contained in:
ccremers 2005-12-28 12:04:00 +00:00
parent dce2befd50
commit 39adf85c6a

View File

@ -734,12 +734,8 @@ claimAddAll (const System sys, const Protocol protocol, const Role role)
t = deVar (tl->term); t = deVar (tl->term);
if (realTermLeaf (t)) if (realTermLeaf (t))
{ {
// For anything that is not a ticket // Add a secrecy claim
if (!inTermlist (t->stype, TERM_Ticket)) claimCreate (sys, protocol, role, CLAIM_Secret, NULL, t);
{
// Add a secrecy claim
claimCreate (sys, protocol, role, CLAIM_Secret, NULL, t);
}
} }
tl = tl->next; tl = tl->next;
} }