diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-12 13:12:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-12 13:12:23 +0300 |
commit | 1a0788c26404b5f42b6be2919bff5be261b2f3e7 (patch) | |
tree | 766341c3f0af30fd5c8c445ef7e8e9d5c66c3560 /protocols/JabberG/src/jabber_proto.h | |
parent | dbf988c60736cc5e226c55b19e6a0a68a085bf3b (diff) |
Jabber: ugly scheme with flags replaced with TJabberAuth instantiation
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index 6531e59319..139a7371cd 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -794,26 +794,9 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface ptrA m_szGroupDelimiter;
ptrW m_savedPassword;
- union {
- int m_dwAuthMechs;
- struct {
- bool m_isPlainAvailable : 1;
- bool m_isPlainOldAvailable : 1;
- bool m_isMd5Available : 1;
- bool m_isScramSha1Available : 1;
- bool m_isScramSha1PlusAvailable : 1;
- bool m_isScramSha256Available : 1;
- bool m_isScramSha256PlusAvailable : 1;
- bool m_isNtlmAvailable : 1;
- bool m_isSpnegoAvailable : 1;
- bool m_isKerberosAvailable : 1;
- bool m_isAuthAvailable : 1;
- bool m_isSessionAvailable : 1;
- };
- };
+ OBJLIST<class TJabberAuth> m_arAuthMechs;
+ bool m_isSessionAvailable, m_isAuthAvailable;
- char* m_gssapiHostName;
-
void __cdecl ServerThread(JABBER_CONN_DATA *info);
void OnProcessFailure(const TiXmlElement *node, ThreadData *info);
|