[BusyBox-cvs] busybox/include libbb.h,1.120,1.121

Glenn McGrath bug1 at busybox.net
Thu Nov 20 21:31:00 UTC 2003


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv6292/include

Modified Files:
	libbb.h 
Log Message:
Dont over-read fd, use function pointer for hash function.


Index: libbb.h
===================================================================
RCS file: /var/cvs/busybox/include/libbb.h,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- libbb.h	20 Nov 2003 05:26:38 -0000	1.120
+++ libbb.h	20 Nov 2003 21:30:54 -0000	1.121
@@ -479,7 +479,7 @@
 
 #define HASH_SHA1	1
 #define HASH_MD5	2
-extern int hash_fd(int fd, const off_t size, const uint8_t hash_algo, uint8_t *hashval);
+extern int hash_fd(int fd, const size_t size, const uint8_t hash_algo, uint8_t *hashval);
 
 
 #endif /* __LIBCONFIG_H__ */




More information about the busybox-cvs mailing list