Skip to content

Commit

Permalink
make the X509.default_authenticator a lazy X509.authenticator
Browse files Browse the repository at this point in the history
this fixes compilation without the tls library (improving mirage#395 @craigfe)
  • Loading branch information
hannesm committed Oct 8, 2021
1 parent e1a182f commit 6cf04fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/conduit-lwt-unix/conduit_lwt_tls.dummy.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module X509 = struct

type authenticator = unit

let default_authenticator = ()
let default_authenticator = lazy ()
end

module Client = struct
Expand Down
2 changes: 1 addition & 1 deletion src/conduit-lwt-unix/conduit_lwt_tls.dummy.mli
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module X509 : sig

type authenticator = unit

val default_authenticator : authenticator
val default_authenticator : authenticator Lazy.t
end

module Client : sig
Expand Down

0 comments on commit 6cf04fc

Please sign in to comment.