summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/arc4random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index 4b6cde63fb8..7a2d9e800ab 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.32 2014/06/13 15:36:37 deraadt Exp $ */
+/* $OpenBSD: arc4random.c,v 1.33 2014/06/13 18:58:58 deraadt Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -79,8 +79,8 @@ _rs_stir(void)
{
u_char rnd[KEYSZ + IVSZ];
- if (getentropy(rnd, sizeof rnd) == -1)
- abort();
+ /* XXX */
+ (void) getentropy(rnd, sizeof rnd);
if (!rs_initialized) {
rs_initialized = 1;