Implement anti-replay protection for XDM-AUTHORIZATION-1, as required by
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Feb 2005 23:51:58 +0000 (23:51 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Feb 2005 23:51:58 +0000 (23:51 +0000)
commit5f8ff48c3536252d8cc5d5f3d58fe782f4acf81d
treeaaacaeb77fb2f44f4f7ed827cb79b5b8039d605e
parentbd0aeff5183e4b167b64fc037d28feaadfa3d968
Implement anti-replay protection for XDM-AUTHORIZATION-1, as required by
the specification.  We keep a cache of tickets we've seen recently and
reject duplicates.  Once a ticket in our cache is old enough that we
wouldn't accept a duplicate anyway, we expire it.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5236 cda61777-01e9-0310-a592-d414129be87e
x11fwd.c