summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-30 12:51:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-30 12:51:38 +0300
commit47e37ce6f965419d6489e11ef57d9640dd6b9189 (patch)
tree7a58658cf4fd55f207e28ac4e21f5f9f44f9dddb /protocols/JabberG/src
parent456293e5f1d7373d1c7a3a0b8888a9dc28b6945d (diff)
fixes #2469 (Jabber: implement SCRAM-SHA-1-PLUS auth)
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_secur.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_secur.cpp b/protocols/JabberG/src/jabber_secur.cpp
index 3d1f0a4725..a0ae449508 100644
--- a/protocols/JabberG/src/jabber_secur.cpp
+++ b/protocols/JabberG/src/jabber_secur.cpp
@@ -210,7 +210,7 @@ TScramAuth::TScramAuth(ThreadData *info, bool bPlusAvailable) :
TJabberAuth(info),
bPlus(bPlusAvailable)
{
- szName = "SCRAM-SHA-1";
+ szName = (bPlusAvailable) ? "SCRAM-SHA-1-PLUS" : "SCRAM-SHA-1";
cnonce = msg1 = serverSignature = nullptr;
}