From 04ad4ecc7b4b5db1bbe10372a6820ed88e2799e8 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 31 Jul 2020 23:35:12 -0400 Subject: Use RAND_bytes instead of arc4random_buf This adds an actual dependency on libcrypto, but removes a dependency on BSD (or LibreSSL libcrypto specifically). --- compat.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index f5d9ff3..63109a0 100644 --- a/compat.h +++ b/compat.h @@ -34,9 +34,6 @@ void explicit_bzero(void *b, size_t len); size_t strlcpy(char *restrict dst, const char *restrict src, size_t dstsize); size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize); #endif -uint32_t arc4random(void); -void arc4random_buf(void *buf, size_t nbytes); -uint32_t arc4random_uniform(uint32_t upper_bound); #ifndef SIGINFO #define SIGINFO SIGUSR2 -- cgit 1.4.1