- Removed some too interesting pruning methods that really need theorems
first. Revealed by the certified e-mail protocol by Abadi and Blanchet.
This commit is contained in:
@@ -1094,11 +1094,18 @@ term_rolelocals_are_variables ()
|
||||
}
|
||||
|
||||
//! Count the encryption level of a term
|
||||
/**
|
||||
* Note that this stops at any variable that is of ticket type.
|
||||
*/
|
||||
int
|
||||
term_encryption_level (const Term term)
|
||||
{
|
||||
int iter_maxencrypt (Term t)
|
||||
{
|
||||
if (isTicketTerm (t))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
t = deVar (t);
|
||||
if (t == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user