diff include/urweb.h @ 1512:dcc8abbc6dfd

Change cookie signature comparison to resist timing attacks (based on code suggested by Robin Green and Austin Seipp)
author Adam Chlipala <adam@chlipala.net>
date Tue, 19 Jul 2011 09:18:50 -0400
parents 4300592e6803
children 3c0803c1acd7
line wrap: on
line diff
--- a/include/urweb.h	Sun Jul 17 14:49:52 2011 -0400
+++ b/include/urweb.h	Tue Jul 19 09:18:50 2011 -0400
@@ -230,6 +230,7 @@
 
 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);