summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/utility.h
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2016-04-07 18:53:06 +0000
committerAlexander Gluzsky <sss123next@list.ru>2016-04-07 18:53:06 +0000
commit45795f0e01be0f51ac647cac4e7c35463f39636a (patch)
treea2e8dbd515f4006b09ff913e70a05214cf90b6a2 /protocols/AimOscar/src/utility.h
parent6d823d15030bc2ccb7237a15492d20a204244ce0 (diff)
aim:
"clientlogin": implemented hmac_sha256 "clientlogin" is fully implemented now //TODO: make some testing //TODO: turn it on git-svn-id: http://svn.miranda-ng.org/main/trunk@16607 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/utility.h')
-rwxr-xr-x[-rw-r--r--]protocols/AimOscar/src/utility.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/AimOscar/src/utility.h b/protocols/AimOscar/src/utility.h
index 447d78538e..f5f6e0ef53 100644..100755
--- a/protocols/AimOscar/src/utility.h
+++ b/protocols/AimOscar/src/utility.h
@@ -31,6 +31,8 @@ inline int cap_cmp(const char* cap, const char* cap2) { return memcmp(cap, cap2,
inline const char* alpha_cap_str(char ver) { return (ver & 0x80) ? " Alpha" : ""; }
inline const char* secure_cap_str(char* ver) { return (*(int*)ver == 0xDEC0FE5A) ? " + SecureIM" : ""; }
+void hmac_sha256(const char *key, const char *msg, char *buf);
+
struct BdListItem
{