diff options
| author | Alexandra Ellwood <lxs@mit.edu> | 2008-10-07 18:58:53 +0000 |
|---|---|---|
| committer | Alexandra Ellwood <lxs@mit.edu> | 2008-10-07 18:58:53 +0000 |
| commit | 19069a085fe75da4d82339778b8d4622d767ebd6 (patch) | |
| tree | d7a511e248a7d00044e79f6b52ea04ee007b88a6 /src/ccapi/lib/ccapi_context.c | |
| parent | e2ab4fc87696f1a424bcec945790d89bf5498e39 (diff) | |
| download | krb5-19069a085fe75da4d82339778b8d4622d767ebd6.tar.gz krb5-19069a085fe75da4d82339778b8d4622d767ebd6.tar.xz krb5-19069a085fe75da4d82339778b8d4622d767ebd6.zip | |
KLLastChangedTime should return current time, not 0
cc_context_get_change_time returns 0 the first time it is called
if the CCacheServer is not running. KLLastChangedTime always
returned the current time on the first call. So use globals and
a mutex to make sure that KLLastChangedTime both monotonically
increases and also returns the current time on the first call.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20835 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/lib/ccapi_context.c')
0 files changed, 0 insertions, 0 deletions
