Zero keyblock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1829 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -161,8 +161,8 @@ void
|
|||||||
krb5_free_keyblock(krb5_context context,
|
krb5_free_keyblock(krb5_context context,
|
||||||
krb5_keyblock *keyblock)
|
krb5_keyblock *keyblock)
|
||||||
{
|
{
|
||||||
krb5_data_free (&keyblock->contents);
|
memset(keyblock->contents.data, 0, keyblock->contents.length);
|
||||||
free (keyblock);
|
krb5_data_free (&keyblock->contents);
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code
|
krb5_error_code
|
||||||
|
Reference in New Issue
Block a user