gss_unwrap_iov crashes with stream buffers for 3des, des, rc4
authorSam Hartman <hartmans@mit.edu>
Wed, 5 Oct 2011 21:30:42 +0000 (21:30 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 5 Oct 2011 21:30:42 +0000 (21:30 +0000)
commit61ccf4d6a8fa65780e8564a065d7aa4e76f5d54d
tree3e21c6385186fb024b722e49d3dba6de348ce46d
parentc4deb50427a24c104458ae1439b696aee41963d2
gss_unwrap_iov crashes with stream buffers for 3des, des, rc4

Use correct key to determine enctype for KG2 tokens in
kg_unseal_stream_iov

Tested with AES for a new enctype and 3DES for an old enctype.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 6970
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25309 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/k5unsealiov.c