commit | 27fdf46d16a32c9f3e95458bd57a06ba365c8fe9 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 09 13:55:13 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 09 13:55:13 2011 +0000 |
tree | 98117b33b608e2f22726b2f25a07116df867c028 | |
parent | 887bd502d2f2052816adbb21be254b254ad8d9a0 [diff] [blame] |
- Removed deprecated casts to int for now unsigned values
diff --git a/library/sha1.c b/library/sha1.c index b65ab24..56028fe 100644 --- a/library/sha1.c +++ b/library/sha1.c
@@ -344,7 +344,7 @@ sha1_starts( &ctx ); while( ( n = fread( buf, 1, sizeof( buf ), f ) ) > 0 ) - sha1_update( &ctx, buf, (int) n ); + sha1_update( &ctx, buf, n ); sha1_finish( &ctx, output );