(_kadm5_set_keys_randomly): make sure enctype to copy enctype for des keys

From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13409 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-02-29 06:12:50 +00:00
parent 40ac026c53
commit 6b07954615

View File

@@ -513,6 +513,7 @@ _kadm5_set_keys_randomly (kadm5_server_context *context,
&kblock[i]);
if (ret)
goto out;
kblock[i].keytype = keys[i].key.keytype;
} else {
ret = krb5_generate_random_keyblock (context->context,
keys[i].key.keytype,