aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-29 13:41:40 +0200
committerClombrong <cromblong@egregore.fun>2025-06-29 13:41:40 +0200
commit3c0557e0a502866d2fbf0f7c391c43a7bbc6d3a4 (patch)
tree582333a1df9a7b50039cc612b051abf05e1b8a25 /lib/stream.ml
parentcd1108ed1b2c403f05daaf91889751f8a6730e1e (diff)
style(sasl): rename auth_mechanism to mechanism
Diffstat (limited to 'lib/stream.ml')
-rw-r--r--lib/stream.ml4
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