auth: Fix use of expires in PickClientSecObj
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 25 Feb 2011 01:28:30 +0000 (01:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 26 Feb 2011 12:00:41 +0000 (04:00 -0800)
commit77c9405023f549bc8fb0c243e0b39153ac41753e
treeb59b1a6a5eafec1ee6bc96e20592ec58d631b09c
parentfcbb656cf7b29b2f03592f3b56556e18b173092a
auth: Fix use of expires in PickClientSecObj

The expires pointer was being zeroed in PickClientSecObject, rather
than zeroing the value pointed to. This meant that we would never
return any expiry time for the selected token.

Change-Id: I9d8e29cdd0c14a1e839a6719390e7f690493f56c
Reviewed-on: http://gerrit.openafs.org/4052
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/auth/authcon.c