diff --git a/sihl/src/web_csrf.ml b/sihl/src/web_csrf.ml index 5c17360d..73cdd7c3 100644 --- a/sihl/src/web_csrf.ml +++ b/sihl/src/web_csrf.ml @@ -33,6 +33,7 @@ let set token req = *) module Crypto = struct + let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna) let block_size = 16 (** [token_length] is the amount of bytes used in the unencrypted CSRF tokens. *)