From 972fa306badc2e072d65cec43c37496aa952eee0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Dec 2018 13:59:13 +0300 Subject: mir_urlDecode restored --- protocols/Gadu-Gadu/src/oauth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/oauth.cpp b/protocols/Gadu-Gadu/src/oauth.cpp index c43b111dba..92abd7feaa 100644 --- a/protocols/Gadu-Gadu/src/oauth.cpp +++ b/protocols/Gadu-Gadu/src/oauth.cpp @@ -186,7 +186,7 @@ int oauth_sign_request(LIST ¶ms, const char *httpmethod, con mir_strcat(key, tsenc); BYTE digest[MIR_SHA1_HASH_SIZE]; - unsigned len = sizeof(digest); + unsigned len; HMAC(EVP_sha1(), key, (int)mir_strlen(key), (BYTE*)(char*)text, (int)mir_strlen(text), digest, &len); sign = mir_base64_encode(digest, MIR_SHA1_HASH_SIZE); } -- cgit v1.2.3