Fix KRB-FX-CF2 for enctypes with non-dense keyspaces
commitad5786899621ab612a9de8d941a3d2f8b769a8ae
authorBenjamin Kaduk <kaduk@mit.edu>
Fri, 14 Mar 2014 22:13:21 +0000 (14 18:13 -0400)
committerNicolas Williams <nico@cryptonector.com>
Mon, 17 Mar 2014 03:57:13 +0000 (16 22:57 -0500)
treee4076f1f34b044ae0a4857e35f9de150536ce552
parentcdf39f13699e1a8ad972d70e33ce31f1bbc5f497
Fix KRB-FX-CF2 for enctypes with non-dense keyspaces

It is necessary to use the RFC3961 random_to_key operation when
creating a key from a bitstring.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
lib/krb5/crypto.c