From 3478d5cfc72165f306295d4b02d88808b9210931 Mon Sep 17 00:00:00 2001 From: Mostafa Saad Date: Tue, 28 May 2024 23:39:52 +0300 Subject: Add Emscripten branch to arc4random The Emscripten platform already supports the necessary Linux API. The only missing piece was adding a branch specifically for Emscripten and including the existing Linux file. This update enables all LibreSSL libraries to be built using the Emscripten toolchain. --- crypto/compat/arc4random.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/compat/arc4random.h b/crypto/compat/arc4random.h index ffa3239..fbf2dce 100644 --- a/crypto/compat/arc4random.h +++ b/crypto/compat/arc4random.h @@ -30,6 +30,9 @@ #elif defined(_WIN32) #include "arc4random_win.h" +#elif defined(__EMSCRIPTEN__) +#include "arc4random_linux.h" + #else #error "No arc4random hooks defined for this platform." -- cgit v1.2.3-55-g6feb