summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_secur.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-07 15:00:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-07 15:00:15 +0300
commit8b8313f8ddf570c5e79fef25e3dbba76698d28ea (patch)
tree788e22a561f27d936de6862c28484f3db9ce6ed3 /protocols/JabberG/src/jabber_secur.cpp
parenta015501245b4393d7bcc98b8751616db7688b91d (diff)
Jabber: fix for TLS 1.3 bindings
Diffstat (limited to 'protocols/JabberG/src/jabber_secur.cpp')
-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 e3a6dbdc34..a1cf3faccc 100644
--- a/protocols/JabberG/src/jabber_secur.cpp
+++ b/protocols/JabberG/src/jabber_secur.cpp
@@ -211,7 +211,7 @@ TScramAuth::TScramAuth(ThreadData *info, const char *pszMech, const EVP_MD *pMet
priority = iPriority;
if ((iPriority % 10) == 1) {
- int cbLen, tlsVer;
+ int cbLen, tlsVer = info->proto->m_bUseTlsExport;
void *pData = Netlib_GetTlsUnique(info->s, cbLen, tlsVer);
if (pData == nullptr)
bIsValid = false;