aboutsummaryrefslogtreecommitdiffstats
path: root/lib/interop.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/interop.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/interop.ml b/lib/interop.ml
index ea25e0c..8cbc05c 100644
--- a/lib/interop.ml
+++ b/lib/interop.ml
@@ -2,7 +2,8 @@ open Ctypes
module Sha256 = struct
type t = string
- let compute_hash content: t =
+
+ let compute_hash content : t =
let size_with_null_terminator = C.Types.hash_size + 1 in
let buf = Ctypes.allocate_n char ~count:size_with_null_terminator in
let () = C.Functions.compute_hash buf (Bytes.to_string content) in