- 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:
parent
dce2befd50
commit
39adf85c6a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user