]> git.ipfire.org Git - thirdparty/krb5.git/commit
Reset key-generation parameters for each enctype
authorBen Kaduk <kaduk@mit.edu>
Fri, 25 Oct 2013 18:00:29 +0000 (14:00 -0400)
committerBen Kaduk <kaduk@mit.edu>
Fri, 25 Oct 2013 18:15:12 +0000 (14:15 -0400)
commit381cf01afb13ad28de0927de37f8e1d12749bf49
treedfd68b99b579f0ce0fe30c9f0332792755fa1b8b
parent0db3c9a631feaf32420d03b76e1d720d64a707a9
Reset key-generation parameters for each enctype

In add_key_pwd, initialize s2k_params to NULL inside the loop over
enctypes instead of outside the loop, so that if the afs3 salt type
is used it does not contaminate later enctype/salt pairs in the list.

ticket: 7733
tags: pullup
target_version: 1.12
src/lib/kdb/kdb_cpw.c