Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit bae7f456 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Avoid collision with stdlib's Random

parent cc080069
......@@ -66,7 +66,7 @@ module Make (C : CONFIG) : SITE = struct
let make_path x = C.path @ x
module Auth = Web_auth.Make (C)
module Random = MakeLwtRandom (struct let rng = make_rng () end)
module LwtRandom = MakeLwtRandom (struct let rng = make_rng () end)
let store = Ocsipersist.open_store C.name
......@@ -233,7 +233,7 @@ module Make (C : CONFIG) : SITE = struct
let r, do_register = register_election params web_params in
let module R = (val r : Web_election.REGISTRABLE) in
let module G = R.W.G in
let module KG = Election.MakeSimpleDistKeyGen (G) (Random) in
let module KG = Election.MakeSimpleDistKeyGen (G) (LwtRandom) in
let public_keys = Lwt_io.lines_of_file f.f_public_keys in
lwt pks = Lwt_stream.(
clone public_keys |>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment