diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-03-01 09:02:06 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-03-01 09:02:06 +1100 |
commit | 6f117cb151efe138ac57bdd8e26165f350328f5f (patch) | |
tree | 279c201c067bb8934605c17c3863f0f359a98f73 /openbsd-compat/arc4random.c | |
parent | 15974235dd528aeab0ec67fb92a0a1d733f62be2 (diff) | |
download | openssh-git-6f117cb151efe138ac57bdd8e26165f350328f5f.tar.gz |
Remove unused ivbits argument from chacha_keysetup
Diffstat (limited to 'openbsd-compat/arc4random.c')
-rw-r--r-- | openbsd-compat/arc4random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/arc4random.c b/openbsd-compat/arc4random.c index 80ff3c18..ce5f054f 100644 --- a/openbsd-compat/arc4random.c +++ b/openbsd-compat/arc4random.c @@ -79,7 +79,7 @@ _rs_init(u_char *buf, size_t n) { if (n < KEYSZ + IVSZ) return; - chacha_keysetup(&rs, buf, KEYSZ * 8, 0); + chacha_keysetup(&rs, buf, KEYSZ * 8); chacha_ivsetup(&rs, buf + KEYSZ); } |