krb5_encrpyt_block freeing

Jeffrey Altman jaltman at columbia.edu
Wed Dec 28 13:03:43 EST 2005


Paul Moore wrote:
> So can I take the silence as a 'no' - there is no function I am supposed
> to call to free a krb5_encrypt_block 

You would only call a krb5_free_xxxx function if the memory for the
xxxx object was allocated by the krb5 library.   I am not aware of any
krb5 functions that allocate a krb5_encrypt_block and return it to
the caller.

The krb5_keyblock is allocated separately and is freed using
krb5_free_keyblock()

Jeffrey Altman


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3256 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.mit.edu/pipermail/krbdev/attachments/20051228/c50626a0/attachment.bin


More information about the krbdev mailing list