1. Luke Plant
  2. ella

Commits

Luke Plant  committed ff9db2b

Fixed test

  • Participants
  • Parent commits f3972c2
  • Branches default

Comments (0)

Files changed (1)

File testsuite/Tests/Ella/Processors/Security.hs

View file
  • Ignore whitespace
 
 -- This mirrors how signedCookiesProcessors does it.  Duplication
 -- is allowed to ensure test actually does the right thing!
-signCookieVal val = (showDigest $ sha1 $ utf8 (scp_secret ++ val)) ++ ":" ++ val
+signCookieVal val = (showDigest $ sha1 $ utf8 ("signedcookies" ++ scp_secret ++ val)) ++ ":" ++ val
 
 testSignedCookiesProcessor1 =
     (do