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 93194f7 commit 6400858Copy full SHA for 6400858
include/jwt-cpp/jwt.h
@@ -1153,7 +1153,7 @@ namespace jwt {
1153
auto len = static_cast<unsigned int>(res.size());
1154
1155
const int secret_size = BN_num_bytes(secret.get());
1156
- std::vector<unsigned char*> buffer(size, '\0');
+ std::vector<unsigned char> buffer(size, '\0');
1157
BN_bn2bin(secret.get(), buffer.data());
1158
1159
if (HMAC(md(), secret.data(), secret_size,
0 commit comments