Fix an error case in encrypted timestamp preauth
authorGreg Hudson <ghudson@mit.edu>
Tue, 27 Sep 2011 15:05:44 +0000 (15:05 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 27 Sep 2011 15:05:44 +0000 (15:05 +0000)
commit084534554ea24fbf673ea568d43247a7109c7596
tree5762682da446930a964f95ba0a3aa4feef7c874a
parent40c6667f1f058fa930b3b57519bb9a1267e8d2e2
Fix an error case in encrypted timestamp preauth

If krb5_encrypt_helper returns an error, it's not the caller's
responsibility to free enc_data.ciphertext, and in one case (if
krb5_c_encrypt_length returns an error) it won't have been
initialized.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25239 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/preauth2.c