clikrb5: don't use krb5_keyblock_init() when no salt is specified
commitc83de77b750837a110611d7023c4cf71d2d0bab1
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)
treecf083b25566739783501d86ce47d91e64f5daeb1
parent08e97bd369ebe3ab1fd92433b168585faea92c68
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
source/libsmb/clikrb5.c