summaryrefslogtreecommitdiff
path: root/include/asterisk/sha1.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-02-22 22:53:49 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-02-22 22:53:49 +0000
commit6204abdae2f51fd8e23702532c3a4e93002396e1 (patch)
treec3e6c9f1df9f8d9321bbbd0d8108548d64f706dd /include/asterisk/sha1.h
parentfdd33866b438de919356cb5bb30a811ecb0e66f9 (diff)
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/sha1.h')
-rw-r--r--include/asterisk/sha1.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asterisk/sha1.h b/include/asterisk/sha1.h
index 5bf4d5b18..fa8e2155b 100644
--- a/include/asterisk/sha1.h
+++ b/include/asterisk/sha1.h
@@ -32,7 +32,6 @@
* name meaning
* uint32_t unsigned 32 bit integer
* uint8_t unsigned 8 bit integer (i.e., unsigned char)
- * int_least16_t integer of >= 16 bits
*
*/
@@ -60,7 +59,7 @@ typedef struct SHA1Context
uint32_t Length_High; /* Message length in bits */
/* Index into message block array */
- int_least16_t Message_Block_Index;
+ uint32_t Message_Block_Index; /* 8 bits actually suffice */
uint8_t Message_Block[64]; /* 512-bit message blocks */
int Computed; /* Is the digest computed? */