From b708db8319cc456a5640618210d740a1e00468e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Sat, 4 Mar 2023 21:50:54 +0100 Subject: [PATCH] Update to the mirage-crypto-rng 0.11.0 API. --- git-unix.opam | 2 +- test/smart/dune | 1 + test/smart/test.ml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/git-unix.opam b/git-unix.opam index 479604ce3..f86f2339e 100644 --- a/git-unix.opam +++ b/git-unix.opam @@ -43,7 +43,7 @@ depends: [ "awa-mirage" {>= "0.1.0"} "mirage-flow" {>= "2.0.1"} "ke" {>= "0.4" & with-test} - "mirage-crypto-rng" {>= "0.8.8" & with-test} + "mirage-crypto-rng" {>= "0.11.0" & with-test} "ptime" "mimic" "ca-certs-nss" {>= "3.60"} diff --git a/test/smart/dune b/test/smart/dune index 0c3b8494e..42605220d 100644 --- a/test/smart/dune +++ b/test/smart/dune @@ -23,6 +23,7 @@ git git-unix result + mirage-crypto-rng mirage-crypto-rng.unix digestif digestif.c diff --git a/test/smart/test.ml b/test/smart/test.ml index ccf5e509f..e03aadc61 100644 --- a/test/smart/test.ml +++ b/test/smart/test.ml @@ -54,7 +54,7 @@ let reporter ppf = in { Logs.report } -let () = Mirage_crypto_rng_unix.initialize () +let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna) let () = Fmt_tty.setup_std_outputs ~style_renderer:`Ansi_tty ~utf_8:true () let () = Logs.set_reporter (reporter Fmt.stderr) let () = Logs.set_level ~all:true (Some Logs.Debug)