From d83986cab41a55e0473264cac47407d81e755e22 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Thu, 5 Apr 2018 02:14:49 +0200 Subject: [PATCH] vmmd: initialise nocrypto --- app/vmmd.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/vmmd.ml b/app/vmmd.ml index 8e85f3b..3f61df7 100644 --- a/app/vmmd.ml +++ b/app/vmmd.ml @@ -220,7 +220,8 @@ let jump _ dir cacert cert priv_key = Sys.(set_signal sigpipe Signal_ignore) ; let dir = Fpath.v dir in Lwt_main.run - ((init_sock dir "cons" >|= function + (Nocrypto_entropy_lwt.initialize () >>= fun () -> + (init_sock dir "cons" >|= function | None -> invalid_arg "cannot connect to console socket" | Some c -> c) >>= fun c -> init_sock dir "stat" >>= fun s ->