Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120610
b: refs/heads/master
c: 09fbf7c
h: refs/heads/master
v: v3
  • Loading branch information
Jarod Wilson authored and Herbert Xu committed Dec 25, 2008
1 parent 1ffabad commit d807756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 93027354d6e8a66a12dedb89d59b21cf7c2d35ed
refs/heads/master: 09fbf7c0f24176ef3b450c590f220ed8033dd2c3
2 changes: 1 addition & 1 deletion trunk/crypto/ansi_cprng.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static int _get_more_prng_bytes(struct prng_context *ctx)
/*
* Now update our DT value
*/
for (i = 0; i < DEFAULT_BLK_SZ; i++) {
for (i = DEFAULT_BLK_SZ - 1; i >= 0; i--) {
ctx->DT[i] += 1;
if (ctx->DT[i] != 0)
break;
Expand Down

0 comments on commit d807756

Please sign in to comment.