krb5_error_code krb5_copy_keyblock_contents( krb5_context context, const krb5_keyblock *from, krb5_keyblock *to );
The context structure.
The keyblock to copy the
A pointer to a copy of the
This routine copies keyblock contents from from
to to, including allocated storage. The
allocated storage should be freed by using free(to->contents).
This routine returns the following KRB5 status code: