We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9fef8 commit be807d4Copy full SHA for be807d4
Release/src/http/oauth/oauth1.cpp
@@ -136,7 +136,7 @@ std::vector<unsigned char> oauth1_config::_hmac_sha1(const utility::string_t& ke
136
137
std::vector<unsigned char> oauth1_config::_hmac_sha1(const utility::string_t& key, const utility::string_t& data)
138
{
139
- unsigned char digest[HMAC_MAX_MD_CBLOCK];
+ unsigned char digest[EVP_MAX_MD_SIZE];
140
unsigned int digest_len = 0;
141
142
HMAC(EVP_sha1(),
0 commit comments