(_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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user