- 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:
ccremers
2006-01-17 16:18:26 +00:00
parent 3ed59b867a
commit bb7259a1ad
5 changed files with 80 additions and 24 deletions

View File

@@ -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)
{