From f20179d6931df17c9310fd911dd4a348141ba72c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 30 Jan 2018 04:01:56 +0000 Subject: remove arc4random (rc4 based) OpenBSD arc4random is using chacha20 cipher algorithm for a long time. This copy is still based on deprecated rc4 cipher algorithm. We could either update the arc4random.c or drop it. Drop it. Users should better use libbsd when using arc4random interface. Musl/glibc does not have arc4random either. --- libc/stdlib/Makefile.in | 1 - 1 file changed, 1 deletion(-) (limited to 'libc/stdlib/Makefile.in') diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in index 7b6eda34e..386890ce7 100644 --- a/libc/stdlib/Makefile.in +++ b/libc/stdlib/Makefile.in @@ -21,7 +21,6 @@ CSRC-y := \ CSRC-$(UCLIBC_SUSV2_LEGACY) += valloc.c CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_memalign.c CSRC-$(UCLIBC_HAS_PTY) += grantpt.c unlockpt.c ptsname.c -CSRC-$(UCLIBC_HAS_ARC4RANDOM) += arc4random.c CSRC-y += mkstemp64.c mkostemp64.c mkstemps64.c mkostemps64.c CSRC-$(UCLIBC_HAS_FLOATS) += drand48.c drand48_r.c erand48.c erand48_r.c CSRC-$(if $(findstring yy,$(UCLIBC_HAS_FLOATS)$(UCLIBC_SUSV3_LEGACY)),y) += \ -- cgit v1.2.3