Fix cred handle lifetime/expiration confusion
commit3bb33fa6e8171dcebb563bd1c75339b413c6a488
authorViktor Dukhovni <viktor@twosigma.com>
Mon, 13 Apr 2015 23:39:14 +0000 (13 18:39 -0500)
committerNicolas Williams <nico@cryptonector.com>
Tue, 14 Apr 2015 16:27:24 +0000 (14 11:27 -0500)
tree880194fcfebf1d6659aac210431dcc37dd7d6b7e
parent9a515026b9237bc7e2aad49bf2bcd605a53d9ddb
Fix cred handle lifetime/expiration confusion

In at least two instances the krb5 cred handle expiration time was misused
as a remaining lifetime.  This is not surprising since the field name is
wrong ("lifetime" not "expiration").  This commit fixes the code, the next
commit will rename the field and change its type from OM_uint32 to time_t.
lib/gssapi/krb5/acquire_cred.c
lib/gssapi/krb5/copy_ccache.c