]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/sha1.c
tableprinter: code cleanup
[libucw.git] / ucw / sha1.c
index 08e68b3397083b4fba821b9e677f446ef90b209b..58129af20cee784866ae8b33242406d48377b9d2 100644 (file)
@@ -170,7 +170,7 @@ transform(sha1_context *hd, const byte *data)
  * of INBUF with length INLEN.
  */
 void
-sha1_update(sha1_context *hd, const byte *inbuf, uns inlen)
+sha1_update(sha1_context *hd, const byte *inbuf, uint inlen)
 {
   if( hd->count == 64 )  /* flush the buffer */
     {
@@ -275,7 +275,7 @@ sha1_final(sha1_context *hd)
  * into outbuf which must have a size of 20 bytes.
  */
 void
-sha1_hash_buffer(byte *outbuf, const byte *buffer, uns length)
+sha1_hash_buffer(byte *outbuf, const byte *buffer, uint length)
 {
   sha1_context hd;