------------------------------------------------------------------------
r23622 | epeisach | 2010-01-09 11:02:13 -0500 (Sat, 09 Jan 2010) | 8 lines
subject: krb5int_pbkdf2_hmac_sha1 fails to set enctype on keyblock
ticket: 6630
tags: pullup
krb5int_pbkdf2_hmac_sha1 fails to set enctype on a termporary keyblock
- resulting in valgrind picking up on a conditional branch w/ unset
value. Initialize value.
ticket: 6630
version_fixed: 1.8
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@23627
dc483132-0cff-0310-8789-
dd5450dbe970
keyblock.length = pass->length;
keyblock.contents = (krb5_octet *) pass->data;
}
+ keyblock.enctype = ENCTYPE_NULL;
err = krb5_k_create_key(NULL, &keyblock, &key);
if (err)