aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/sha1.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-22 22:53:49 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-22 22:53:49 +0000
commit298fa6c9e1d883da32699692365b7fcf4326b534 (patch)
treec3e6c9f1df9f8d9321bbbd0d8108548d64f706dd /include/asterisk/sha1.h
parentc1161711aac0ac5061eb317080ed05a7aa31b305 (diff)
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
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? */