From 83c0e9113c6b93daf7cd7a61898c4d4a5d41c9a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 3 Aug 2018 00:05:28 +0200 Subject: [PATCH] sasl: Add the -PLUS versions of both SCRAM mechanisms. --- src/sasl.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sasl.rs b/src/sasl.rs index 8e4151e..cbbd11c 100644 --- a/src/sasl.rs +++ b/src/sasl.rs @@ -9,7 +9,9 @@ use helpers::{Base64, TrimmedPlainText}; generate_attribute!(Mechanism, "mechanism", { Plain => "PLAIN", ScramSha1 => "SCRAM-SHA-1", + ScramSha1Plus => "SCRAM-SHA-1-PLUS", ScramSha256 => "SCRAM-SHA-256", + ScramSha256Plus => "SCRAM-SHA-256-PLUS", Anonymous => "ANONYMOUS", });