diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-10 18:43:40 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-10 18:43:40 +0300 |
commit | 8d9fb2ecdca01805f3a1db7e89a6873286efb898 (patch) | |
tree | f915e58d30e6f0a85239a3124d998423f5e57195 /protocols/JabberG | |
parent | 529c9641612e912e05161fd928ce62169c753daa (diff) |
fixes #4187 (Jabber: cannot connect after update)
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_secur.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_secur.cpp b/protocols/JabberG/src/jabber_secur.cpp index 37fd4b6c42..104c225504 100644 --- a/protocols/JabberG/src/jabber_secur.cpp +++ b/protocols/JabberG/src/jabber_secur.cpp @@ -242,6 +242,7 @@ char* TScramAuth::getInitialRequest() Utils_GetRandom(nonce, sizeof(nonce));
cnonce = mir_base64_encode(nonce, sizeof(nonce));
+ bindFlag = "n,,";
if ((priority % 10) == 1) {
if (info->proto->m_bTlsExporter) {
int cbLen, tlsVer = true;
@@ -253,7 +254,6 @@ char* TScramAuth::getInitialRequest() bindData.append(pData, cbLen);
}
}
- else bindFlag = "n,,";
CMStringA buf(FORMAT, "n=%s,r=%s", info->conn.username, cnonce);
msg1 = mir_strdup(buf);
|