diff --git a/Release/src/http/oauth/oauth1.cpp b/Release/src/http/oauth/oauth1.cpp index 506d9f1faa..0e973aa401 100644 --- a/Release/src/http/oauth/oauth1.cpp +++ b/Release/src/http/oauth/oauth1.cpp @@ -136,7 +136,7 @@ std::vector oauth1_config::_hmac_sha1(const utility::string_t& ke std::vector oauth1_config::_hmac_sha1(const utility::string_t& key, const utility::string_t& data) { - unsigned char digest[HMAC_MAX_MD_CBLOCK]; + unsigned char digest[EVP_MAX_MD_SIZE]; unsigned int digest_len = 0; HMAC(EVP_sha1(),