stoken: Fix CSD/stoken interaction
authorKevin Cernekee <cernekee@gmail.com>
Sun, 28 Oct 2012 07:41:32 +0000 (00:41 -0700)
committerKevin Cernekee <cernekee@gmail.com>
Sun, 28 Oct 2012 08:22:56 +0000 (01:22 -0700)
commitd7f91bbd038dcee3ca803a90d38f7456fe8229f2
tree55561325ef607c6249fc4579b98b32ad5b35512d
parentcff6b33cfa15c333f879f46a32641db3d04cc712
stoken: Fix CSD/stoken interaction

When using CSD, the auth form could be parsed more than once per
connection.  Change the accounting so that stoken_tries only gets
incremented if a tokencode is actually generated.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
auth.c