upstream OpenBSD: arc4random: fix indent
This commit is contained in:
parent
52a410f9bd
commit
eb5c631ead
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: arc4random.c,v 1.57 2022/07/31 05:10:36 djm Exp $ */
|
/* $OpenBSD: arc4random.c,v 1.58 2022/07/31 13:41:45 tb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996, David Mazieres <dm@uun.org>
|
* Copyright (c) 1996, David Mazieres <dm@uun.org>
|
||||||
|
@ -113,7 +113,7 @@ _rs_stir(void)
|
||||||
|
|
||||||
/* rekey interval should not be predictable */
|
/* rekey interval should not be predictable */
|
||||||
chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz,
|
chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz,
|
||||||
(uint8_t *)&rekey_fuzz, sizeof(rekey_fuzz));
|
(uint8_t *)&rekey_fuzz, sizeof(rekey_fuzz));
|
||||||
rs->rs_count = REKEY_BASE + (rekey_fuzz % REKEY_BASE);
|
rs->rs_count = REKEY_BASE + (rekey_fuzz % REKEY_BASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue