svn rev #21609: branches/mskrb-integ/src/lib/crypto/
lhoward@MIT.EDU
lhoward at MIT.EDU
Sat Dec 27 18:13:06 EST 2008
http://src.mit.edu/fisheye/changelog/krb5/?cs=21609
Commit By: lhoward
Log Message:
cleanup
Changed Files:
U branches/mskrb-integ/src/lib/crypto/hmac.c
Modified: branches/mskrb-integ/src/lib/crypto/hmac.c
===================================================================
--- branches/mskrb-integ/src/lib/crypto/hmac.c 2008-12-27 05:40:18 UTC (rev 21608)
+++ branches/mskrb-integ/src/lib/crypto/hmac.c 2008-12-27 23:13:05 UTC (rev 21609)
@@ -129,7 +129,7 @@
krb5_error_code
krb5int_hmac_iov(const struct krb5_hash_provider *hash, const krb5_keyblock *key,
- const krb5_crypto_iov *data, size_t num_data, krb5_data *output)
+ const krb5_crypto_iov *data, size_t num_data, krb5_data *output)
{
krb5_data *sign_data;
size_t num_sign_data;
@@ -143,6 +143,7 @@
if (SIGN_IOV(iov))
num_sign_data++;
}
+
/* XXX cleanup to avoid alloc */
sign_data = (krb5_data *)calloc(num_sign_data, sizeof(krb5_data));
if (sign_data == NULL)
More information about the cvs-krb5
mailing list