diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-29 13:41:40 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-29 13:41:40 +0200 |
commit | 3c0557e0a502866d2fbf0f7c391c43a7bbc6d3a4 (patch) | |
tree | 582333a1df9a7b50039cc612b051abf05e1b8a25 /lib/stream.ml | |
parent | cd1108ed1b2c403f05daaf91889751f8a6730e1e (diff) |
style(sasl): rename auth_mechanism to mechanism
Diffstat (limited to 'lib/stream.ml')
-rw-r--r-- | lib/stream.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index db4d5ee..aa7c3b3 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -5,7 +5,7 @@ exception ClosedStream exception InsufficientEncryption type feature = - | Mechanisms of Sasl.auth_mechanism list + | Mechanisms of Sasl.mechanism list | STARTTLS | Other of Xml.element @@ -23,7 +23,7 @@ let parse_features (stanza : Xml.element) : feature list * feature list = let parse_single_mechanism = function | Left {local_name = "mechanism"; children = [Right mechanism]; _} -> - Sasl.parse_auth_mechanism mechanism + Sasl.parse_mechanism mechanism | _ -> raise (InvalidStanza (element_to_string stanza)) in |