summary refs log tree commit diff
path: root/compat/arc4random.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-03-21 17:14:22 -0400
committerJune McEnroe <june@causal.agency>2022-03-21 17:14:22 -0400
commit36e3e016edf8b8068aa7c5e9f188159ee4d4e2fb (patch)
treeabf6a8eda1231cf996ced611c8840384c0b03b81 /compat/arc4random.c
parentdoc: Note OpenSSL 3.0.0 compatibility in README (diff)
parentImport LibreSSL 3.5.1 (diff)
downloadlibretls-36e3e016edf8b8068aa7c5e9f188159ee4d4e2fb.tar.gz
libretls-36e3e016edf8b8068aa7c5e9f188159ee4d4e2fb.zip
Merge LibreSSL 3.5.1 3.5.1
Diffstat (limited to 'compat/arc4random.c')
-rw-r--r--compat/arc4random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/arc4random.c b/compat/arc4random.c
index 2bb4dbf..6f95d57 100644
--- a/compat/arc4random.c
+++ b/compat/arc4random.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: arc4random.c,v 1.55 2019/03/24 17:56:54 deraadt Exp $	*/
+/*	$OpenBSD: arc4random.c,v 1.56 2022/02/28 21:56:29 dtucker Exp $	*/
 
 /*
  * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -78,7 +78,7 @@ _rs_init(u_char *buf, size_t n)
 			_exit(1);
 	}
 
-	chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0);
+	chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8);
 	chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ);
 }