Pull up r25584 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 11 Jan 2012 03:59:22 +0000 (03:59 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 11 Jan 2012 03:59:22 +0000 (03:59 +0000)
commit54025e3dba7b9398b45232b27e68f8ccc54f7423
treed6960853771b629da8514f05631c1bfe15595f6d
parent1c1828a5cf44065db30a566a25ee022e60ae2516
Pull up r25584 from trunk

 ------------------------------------------------------------------------
 r25584 | ghudson | 2011-12-12 19:53:56 -0500 (Mon, 12 Dec 2011) | 9 lines

 ticket: 7051
 subject: krb5_server_decrypt_ticket_keytab wrongly succeeds

 If krb5_server_decrypt_ticket_keytab doesn't find a key of the
 appropriate enctype in an iterable keytab, it returns 0 (without
 decrypting the ticket) due to a misplaced initialization of retval.
 This bug causes kinit -k to claim "keytab entry valid" when it
 shouldn't.  Reported by mark@mproehl.net.

ticket: 7051
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25641 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/srv_dec_tkt.c