summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_secur.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_secur.h')
-rw-r--r--protocols/JabberG/src/jabber_secur.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber_secur.h b/protocols/JabberG/src/jabber_secur.h
index 1b6944448a..719f4eda74 100644
--- a/protocols/JabberG/src/jabber_secur.h
+++ b/protocols/JabberG/src/jabber_secur.h
@@ -39,8 +39,8 @@ public:
virtual ~TJabberAuth();
virtual char* getInitialRequest();
- virtual char* getChallenge(const wchar_t *challenge);
- virtual bool validateLogin(const wchar_t *challenge);
+ virtual char* getChallenge(const char *challenge);
+ virtual bool validateLogin(const char *challenge);
inline const char* getName() const
{ return szName;
@@ -77,7 +77,7 @@ public:
TMD5Auth(ThreadData*);
virtual ~TMD5Auth();
- virtual char* getChallenge(const wchar_t *challenge);
+ virtual char* getChallenge(const char *challenge);
};
class TScramAuth : public TJabberAuth
@@ -90,8 +90,8 @@ public:
virtual ~TScramAuth();
virtual char* getInitialRequest();
- virtual char* getChallenge(const wchar_t *challenge);
- virtual bool validateLogin(const wchar_t *challenge);
+ virtual char* getChallenge(const char *challenge);
+ virtual bool validateLogin(const char *challenge);
void Hi(BYTE* res , char* passw, size_t passwLen, char* salt, size_t saltLen, int ind);
};
@@ -103,13 +103,13 @@ class TNtlmAuth : public TJabberAuth
typedef TJabberAuth CSuper;
HANDLE hProvider;
- const wchar_t *szHostName;
+ const char *szHostName;
public:
- TNtlmAuth(ThreadData*, const char* mechanism, const wchar_t *hostname = nullptr);
+ TNtlmAuth(ThreadData*, const char* mechanism, const char *hostname = nullptr);
virtual ~TNtlmAuth();
virtual char* getInitialRequest();
- virtual char* getChallenge(const wchar_t *challenge);
+ virtual char* getChallenge(const char *challenge);
bool getSpn(wchar_t* szSpn, size_t dwSpnLen);
};