use copy_EncryptionKey

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4155 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-12-07 15:42:22 +00:00
parent 6754ee4cad
commit 776f33fe87

View File

@@ -63,10 +63,7 @@ krb5_copy_keyblock_contents (krb5_context context,
const krb5_keyblock *inblock,
krb5_keyblock *to)
{
to->keytype = inblock->keytype;
return krb5_data_copy (&to->keyvalue,
inblock->keyvalue.data,
inblock->keyvalue.length);
return copy_EncryptionKey(inblock, to);
}
krb5_error_code