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 contents of.
A pointer to a copy of the keyblock contents.
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:
0