summaryrefslogtreecommitdiff
path: root/include/urweb.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-07-19 09:18:50 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-07-19 09:18:50 -0400
commitac6fd6218962bf60b86cdfa64b8f7110ffc35ad3 (patch)
tree5a3ddc7abde84b7531e001931b0cf158d78938b5 /include/urweb.h
parent0b12664f70f258a5928d051b5e71715b84dd37b6 (diff)
Change cookie signature comparison to resist timing attacks (based on code suggested by Robin Green and Austin Seipp)
Diffstat (limited to 'include/urweb.h')
-rw-r--r--include/urweb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 9b68179a..1b10583f 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -230,6 +230,7 @@ uw_unit uw_Basis_setHeader(uw_context, uw_Basis_string name, uw_Basis_string val
uw_Basis_string uw_unnull(uw_Basis_string);
uw_Basis_string uw_Basis_makeSigString(uw_context, uw_Basis_string);
+int uw_streq(uw_Basis_string, uw_Basis_string);
uw_Basis_string uw_Basis_sigString(uw_context, uw_unit);
uw_Basis_string uw_Basis_fileName(uw_context, uw_Basis_file);