clikrb5: don't use krb5_keyblock_init() when no salt is specified
commit70c2a5b02eba592b30c9239383445c2c16295ba0
authorStefan Metzmacher <metze@samba.org>
Mon, 4 Aug 2008 11:52:18 +0000 (4 13:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Aug 2008 11:52:18 +0000 (4 13:52 +0200)
tree64fefe6951c7d02b4ba4b5d56cf0d7d2da5d7cff
parent711efc06c82349faa979c3653226f4e944f59d18
clikrb5: don't use krb5_keyblock_init() when no salt is specified

If the caller wants to create a key with no salt we should
not use krb5_keyblock_init() (only used when using heimdal)
because it does sanity checks on the key length.

metze
(This used to be commit c83de77b750837a110611d7023c4cf71d2d0bab1)
source3/libsmb/clikrb5.c