summaryrefslogtreecommitdiff
path: root/beecrypt/hmac.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-23 12:09:48 +0000
committerjbj <devnull@localhost>2001-09-23 12:09:48 +0000
commit0f7777894493527a5672d0ce09c4855e2b69495f (patch)
treeaf5511490946ca59d1abc0ae69696437bd73eac8 /beecrypt/hmac.c
parent1eef0782f60f9d8d80be273ace982ad4c2a56d98 (diff)
downloadlibrpm-tizen-0f7777894493527a5672d0ce09c4855e2b69495f.tar.gz
librpm-tizen-0f7777894493527a5672d0ce09c4855e2b69495f.tar.bz2
librpm-tizen-0f7777894493527a5672d0ce09c4855e2b69495f.zip
More lclint annotations, now at the strict level with a complete program.
CVS patchset: 5069 CVS date: 2001/09/23 12:09:48
Diffstat (limited to 'beecrypt/hmac.c')
-rw-r--r--beecrypt/hmac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/beecrypt/hmac.c b/beecrypt/hmac.c
index 2f0d5b48a..ae51c290d 100644
--- a/beecrypt/hmac.c
+++ b/beecrypt/hmac.c
@@ -92,7 +92,9 @@ int hmacDigest(hmacParam* hp, const hashFunction* hash, hashFunctionParam* param
return -1;
/* digestsize is in bytes; divide by 4 to get the number of words */
+ /*@-compdef@*/ /* FIX: *data undef ??? Code looks bogus ... */
(void) encodeInts((const javaint*) data, (byte*) data, hash->digestsize >> 2);
+ /*@=compdef@*/
if (hash->update(param, (const byte*) data, hash->digestsize))
return -1;