Skip to content

Commit 6400858

Browse files
fix typo
1 parent 93194f7 commit 6400858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/jwt-cpp/jwt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ namespace jwt {
11531153
auto len = static_cast<unsigned int>(res.size());
11541154

11551155
const int secret_size = BN_num_bytes(secret.get());
1156-
std::vector<unsigned char*> buffer(size, '\0');
1156+
std::vector<unsigned char> buffer(size, '\0');
11571157
BN_bn2bin(secret.get(), buffer.data());
11581158

11591159
if (HMAC(md(), secret.data(), secret_size,

0 commit comments

Comments
 (0)