(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:
Assar Westerlund
2001-05-08 14:05:37 +00:00
parent 9e18407189
commit 8f0dc8ec52

View File

@@ -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).
* All rights reserved.
*
@@ -57,6 +57,6 @@ krb5_generate_seq_number(krb5_context context,
q = (q << 8) | *p;
q &= 0xffffffff;
*seqno = q;
krb5_free_keyblock_contents (context, subkey);
krb5_free_keyblock (context, subkey);
return 0;
}