Skip to content

Commit

Permalink
Merge pull request #62 from hannesm/mc-011
Browse files Browse the repository at this point in the history
update to mirage-crypto-rng 0.11 API changes
  • Loading branch information
Tim-ats-d authored Feb 16, 2023
2 parents 1fffc25 + fafeb3c commit f91f4ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mehari-lwt-unix/mehari_lwt_unix.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let default_ipv4 = Ipaddr.V4.Prefix.make 8 Ipaddr.V4.localhost

let run_lwt ?port ?timeout ?verify_url_host ?certchains ?(v4 = default_ipv4) ?v6
callback =
Mirage_crypto_rng_unix.initialize ();
Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna);
let* stack = stack ~v4 ~v6 in
run ?port ?timeout ?verify_url_host ?certchains stack callback

Expand Down
2 changes: 1 addition & 1 deletion mehari-mirage/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
mirage-time
mehari
tcpip
tls.lwt
tls-lwt
tls-mirage)
(preprocess
(pps lwt_ppx)))
2 changes: 1 addition & 1 deletion mehari.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ depends: [
"logs" {>= "0.7.0"}
"magic-mime" {>= "1.3.0"}
"mirage-clock" {>= "4.2.0"}
"tls" {>= "0.15.4"}
"tls" {>= "0.16.0"}
"uri" {>= "4.2.0"}
"x509" {>= "0.16.2"}
"re" {>= "1.10.4"}
Expand Down

0 comments on commit f91f4ea

Please sign in to comment.