(krb5_generate_seq_number): free the entire subkey. from
<tmartin@mirapoint.com> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9866 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -57,6 +57,6 @@ krb5_generate_seq_number(krb5_context context,
|
|||||||
q = (q << 8) | *p;
|
q = (q << 8) | *p;
|
||||||
q &= 0xffffffff;
|
q &= 0xffffffff;
|
||||||
*seqno = q;
|
*seqno = q;
|
||||||
krb5_free_keyblock_contents (context, subkey);
|
krb5_free_keyblock (context, subkey);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user