diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-29 18:20:14 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-29 18:20:14 +0200 |
commit | 2331768992badd355822d4d9c23f734c44184a4f (patch) | |
tree | ea4df168e4cf45ae42e3fcb348583dc6656bea92 /lib/starttls.ml | |
parent | 954239ed796367027c49a8b0808e596c1b68d2d7 (diff) |
feat(starttls): add config type
Diffstat (limited to 'lib/starttls.ml')
-rw-r--r-- | lib/starttls.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/starttls.ml b/lib/starttls.ml index 714defe..fafda66 100644 --- a/lib/starttls.ml +++ b/lib/starttls.ml @@ -1,6 +1,10 @@ open Lwt.Syntax open Xml +type config = { + prefer_starttls : bool + } + exception TLSError (** [STARTTLSFailure] is thrown if the server doesn't allow the STARTTLS negotiation to |