summaryrefslogtreecommitdiffhomepage
path: root/Role
diff options
context:
space:
mode:
Diffstat (limited to 'Role')
-rw-r--r--Role/Developer.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Role/Developer.hs b/Role/Developer.hs
index efe476a..d05710e 100644
--- a/Role/Developer.hs
+++ b/Role/Developer.hs
@@ -410,6 +410,8 @@ processSessionStart sk ochan logger dsv = do
User (ActivityMessage act@(Activity (Seen (Val b)) Nothing _ _))
| verifySigned sigverifier act ->
(hash act, TtyOutput b)
+ | otherwise ->
+ error "Bad signature on startup message"
_ -> error $ "Unexpected startup message: " ++ show startmsg
atomically $ modifyTVar' st $ \ds -> ds
{ lastSeen = starthash