From e2990e37de1f6d2d07206f7ebb8c40b46cd28feb Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 14 Jan 2005 10:28:12 +0000 Subject: [PATCH] - Two protocol bugfixes. --- spdl/ns3-brutus.spdl | 2 +- spdl/yahalom-paulson.spdl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spdl/ns3-brutus.spdl b/spdl/ns3-brutus.spdl index e207556..b915956 100644 --- a/spdl/ns3-brutus.spdl +++ b/spdl/ns3-brutus.spdl @@ -23,7 +23,7 @@ protocol ns3brutus(I,R) read_1(I,R, {I,ni}pk(R) ); send_2(R,I, {ni,nr}pk(I) ); read_3(I,R, {nr}pk(R) ); - claim_5(I,Secret,ni); + claim_5(R,Secret,ni); } } diff --git a/spdl/yahalom-paulson.spdl b/spdl/yahalom-paulson.spdl index 641e85f..866656d 100644 --- a/spdl/yahalom-paulson.spdl +++ b/spdl/yahalom-paulson.spdl @@ -13,7 +13,7 @@ compromised k(Eve,Simon); const ne: Nonce; const kee: Sessionkey; -protocol yahalomlowe(I,R,S) +protocol yahalompaulson(I,R,S) { role I { @@ -54,10 +54,10 @@ protocol yahalomlowe(I,R,S) } } -run yahalomlowe.I(Agent,Agent,Simon); -run yahalomlowe.R(Agent,Agent,Simon); -run yahalomlowe.S(Agent,Agent,Simon); +run yahalompaulson.I(Agent,Agent,Simon); +run yahalompaulson.R(Agent,Agent,Simon); +run yahalompaulson.S(Agent,Agent,Simon); -run yahalomlowe.I(Agent,Agent,Simon); -run yahalomlowe.R(Agent,Agent,Simon); +run yahalompaulson.I(Agent,Agent,Simon); +run yahalompaulson.R(Agent,Agent,Simon);