Skip to content

Commit

Permalink
ARC4RANDOM: remove unnecessary call in _rs_stir()
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and lattera committed Nov 17, 2014
1 parent b54ed05 commit 01da3c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/libkern/arc4random.c
Expand Up @@ -167,7 +167,6 @@ _rs_stir(int lock)
if (lock)
mtx_lock(&arc4_mtx);

_rs_random_buf(key, sizeof(key));
/* If r == 0 || -1, just use what was on the stack. */
if (r > 0) {
for (n = r; n < sizeof(key); n++)
Expand Down

0 comments on commit 01da3c8

Please sign in to comment.