Skip to content

Commit

Permalink
Fix typo in SCRAM mechanisms
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Dec 10, 2020
1 parent 336b93c commit 70bad12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xmpp_sasl_scram.erl
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ mech_new(Mech, Socket, _Host, GetPassword, _CheckPassword, _CheckPasswordDigest)
{Algo, Plus} =
case Mech of
<<"SCRAM-SHA-1">> -> {sha, false};
<<"SCRAM-SHA-1-PLuS">> -> {sha, true};
<<"SCRAM-SHA-1-PLUS">> -> {sha, true};
<<"SCRAM-SHA-256">> -> {sha256, false};
<<"SCRAM-SHA-256-PLuS">> -> {sha256, true};
<<"SCRAM-SHA-256-PLUS">> -> {sha256, true};
<<"SCRAM-SHA-512">> -> {sha512, false};
<<"SCRAM-SHA-512-PLUS">> -> {sha512, true}
end,
Expand Down

0 comments on commit 70bad12

Please sign in to comment.