Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231956
b: refs/heads/master
c: 35576ea
h: refs/heads/master
v: v3
  • Loading branch information
Tetsuo Handa authored and James Morris committed Jan 18, 2011
1 parent 94de7a8 commit 71f2e2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40c1001792de63e0f90e977eb05393fd71f78692
refs/heads/master: 35576eab390df313095306e2a8216134910e7014
8 changes: 5 additions & 3 deletions trunk/security/keys/trusted_defined.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,13 @@ static int TSS_rawhmac(unsigned char *digest, const unsigned char *key,
if (dlen == 0)
break;
data = va_arg(argp, unsigned char *);
if (data == NULL)
return -EINVAL;
if (data == NULL) {
ret = -EINVAL;
break;
}
ret = crypto_shash_update(&sdesc->shash, data, dlen);
if (ret < 0)
goto out;
break;
}
va_end(argp);
if (!ret)
Expand Down

0 comments on commit 71f2e2b

Please sign in to comment.