From 82cdac484e9e6c489233c7a33bc34d216a562f27 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 17 Oct 2000 22:57:58 +0000 Subject: [PATCH] * hash_sha1.c (k5_sha1_hash): Cast length field in shsUpdate call to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12775 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/hash_provider/ChangeLog | 5 +++++ src/lib/crypto/hash_provider/hash_sha1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/hash_provider/ChangeLog b/src/lib/crypto/hash_provider/ChangeLog index d55615efa..146b003b1 100644 --- a/src/lib/crypto/hash_provider/ChangeLog +++ b/src/lib/crypto/hash_provider/ChangeLog @@ -1,3 +1,8 @@ +2000-10-17 Ezra Peisach + + * hash_sha1.c (k5_sha1_hash): Cast length field in shsUpdate call + to int. + 2000-01-21 Ken Raeburn * hash_crc32.c (krb5_hash_crc32): Now const. diff --git a/src/lib/crypto/hash_provider/hash_sha1.c b/src/lib/crypto/hash_provider/hash_sha1.c index b430dfd9c..2c215456b 100644 --- a/src/lib/crypto/hash_provider/hash_sha1.c +++ b/src/lib/crypto/hash_provider/hash_sha1.c @@ -52,7 +52,7 @@ k5_sha1_hash(unsigned int icount, krb5_const krb5_data *input, shsInit(&ctx); for (i=0; i