diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-03-29 02:47:09 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-03-29 02:47:09 -0400 |
commit | c388b28237386a8f41fcd88c06cc7049f295a69d (patch) | |
tree | fb3c67633ea560f1d47691fb6485280d10972dc1 | |
parent | 20c691d169d1a0df65d4658997926c35e4fe2b71 (diff) | |
download | krb5-c388b28237386a8f41fcd88c06cc7049f295a69d.tar.gz krb5-c388b28237386a8f41fcd88c06cc7049f295a69d.tar.xz krb5-c388b28237386a8f41fcd88c06cc7049f295a69d.zip |
Fix zap size in confounder checksum mk_xorkey
-rw-r--r-- | src/lib/crypto/krb/checksum_confounder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/krb/checksum_confounder.c b/src/lib/crypto/krb/checksum_confounder.c index afc473bfe3..0e54953cac 100644 --- a/src/lib/crypto/krb/checksum_confounder.c +++ b/src/lib/crypto/krb/checksum_confounder.c @@ -53,7 +53,7 @@ mk_xorkey(krb5_key origkey, krb5_key *xorkey) xorkeyblock.contents = xorbytes; retval = krb5_k_create_key(0, &xorkeyblock, xorkey); - zapfree(xorbytes, sizeof(xorbytes)); + zapfree(xorbytes, origkey->keyblock.length); return retval; } |