$OpenBSD: patch-third_party_boringssl_src_crypto_fipsmodule_rand_urandom_c,v 1.1 2018/08/11 16:22:42 robert Exp $

Index: third_party/boringssl/src/crypto/fipsmodule/rand/urandom.c
--- third_party/boringssl/src/crypto/fipsmodule/rand/urandom.c.orig
+++ third_party/boringssl/src/crypto/fipsmodule/rand/urandom.c
@@ -19,7 +19,8 @@
 #include <openssl/rand.h>
 
 #if !defined(OPENSSL_WINDOWS) && !defined(OPENSSL_FUCHSIA) && \
-    !defined(BORINGSSL_UNSAFE_DETERMINISTIC_MODE) && !defined(OPENSSL_TRUSTY)
+    !defined(BORINGSSL_UNSAFE_DETERMINISTIC_MODE) && !defined(OPENSSL_TRUSTY) && \
+    !defined(OPENSSL_ARC4RANDOM)
 
 #include <assert.h>
 #include <errno.h>
