krb5int_dk_string_to_key fails to set enctype
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jan 2010 14:54:04 +0000 (14:54 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jan 2010 14:54:04 +0000 (14:54 +0000)
commit87c0d880c745479c3bf4ffc44dad316e182ac762
treeaf44f0e25ce1929ac585fb4b8475d67477391a80
parent5be0ba2a546fd4f112107cc15790782d2198d4e1
krb5int_dk_string_to_key fails to set enctype

Failure to set the enctype before invoking krb5_k_create_key results in
potential memory leak.

ticket: 6628
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23612 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/krb/dk/stringtokey.c