Removing another fake nested function.

This commit is contained in:
Cas Cremers 2018-12-24 16:06:36 +01:00
parent c28f79296f
commit 0b524e6ef8

View File

@ -2718,6 +2718,20 @@ determine_encrypt_max (Protocol p, Role r, Roledef rd, int index)
return 1;
}
//! Print send information
int
print_send (Protocol p, Role r, Roledef rd, int index)
{
eprintf ("IRS: ");
termPrint (p->nameterm);
eprintf (", ");
termPrint (r->nameterm);
eprintf (", %i, ", index);
roledefPrint (rd);
eprintf ("\n");
return 1;
}
//! Main code for Arachne
/**
@ -2733,18 +2747,6 @@ arachne ()
Claimlist cl;
int count;
int print_send (Protocol p, Role r, Roledef rd, int index)
{
eprintf ("IRS: ");
termPrint (p->nameterm);
eprintf (", ");
termPrint (r->nameterm);
eprintf (", %i, ", index);
roledefPrint (rd);
eprintf ("\n");
return 1;
}
/*
* set up claim role(s)
*/