kadm5_decrypt_key(). This patch prevents the returned keyblock's
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 20:33:53 +0000 (20:33 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 20:33:53 +0000 (20:33 +0000)
commit39d67c4cf3a060b09717dc541ae57520c9806f6e
tree6daa0b4696907973e2c2b63eb197df56e97553c5
parentebe25d9f759503d96a551afeaf3f1214336801de
kadm5_decrypt_key(). This patch prevents the returned keyblock's
enctype from being coerced to the requested 'ktype' if the requested
'ktype' == -1. A ktype of -1 is documented as meaning "to be ignored".

ticket: 5840
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20558 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kadm5/srv/svr_principal.c