Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153995
b: refs/heads/master
c: 91a120d
h: refs/heads/master
i:
  153993: 0fdd2ef
  153991: 3623288
v: v3
  • Loading branch information
Jesper Nilsson committed Jun 11, 2009
1 parent 6b8d370 commit 01cb217
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7f2ff23db1de53ea8695bb4a7c1cfab88886e3fd
refs/heads/master: 91a120d03fd901fc8b95e85af7903358c5862d65
4 changes: 2 additions & 2 deletions trunk/arch/cris/arch-v32/drivers/cryptocop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ static int create_md5_pad(int alloc_flag, unsigned long long hashed_length, char
if (padlen < MD5_MIN_PAD_LENGTH) padlen += MD5_BLOCK_LENGTH;

p = kmalloc(padlen, alloc_flag);
if (!pad) return -ENOMEM;
if (!p) return -ENOMEM;

*p = 0x80;
memset(p+1, 0, padlen - 1);
Expand Down Expand Up @@ -1427,7 +1427,7 @@ static int create_sha1_pad(int alloc_flag, unsigned long long hashed_length, cha
if (padlen < SHA1_MIN_PAD_LENGTH) padlen += SHA1_BLOCK_LENGTH;

p = kmalloc(padlen, alloc_flag);
if (!pad) return -ENOMEM;
if (!p) return -ENOMEM;

*p = 0x80;
memset(p+1, 0, padlen - 1);
Expand Down

0 comments on commit 01cb217

Please sign in to comment.