Negative enctypes improperly read from ccaches
authorGreg Hudson <ghudson@mit.edu>
Thu, 13 May 2010 18:58:43 +0000 (18:58 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 13 May 2010 18:58:43 +0000 (18:58 +0000)
commitc0cd63413841b3b85e0f70c6949322cc6299afb5
tree207bf4d474470fae6d458e14019fc43260eef462
parent202383a7defa65fc1bc430343e3bc4dd0da04efd
Negative enctypes improperly read from ccaches

When reading enctypes from ccaches, we need to sign-extend the 16-bit
value we read in order to properly read negative enctypes.

ticket: 6723

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24021 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_file.c